সাঁচ:Color
অৱয়ব
Usage
[উৎস সম্পাদনা]{{color|name of color or hex code of color|Text}}
For example:
{{color|red|Hello, world!}}
results in Hello, world!
{{color|#00F000|Hello, world!}}
results in Hello, world!
See w:Web colors#HTML color names for a list of colors.
Use {{color block|name of color or hex code of color|block content}}
where the content to be colored extends over a number of paragraphs.
See also
[উৎস সম্পাদনা]There are individual (inline) templates for the most common colors and সাঁচ:W. Don't create more without a compelling reason:
- {{maroon}} (Example)
- {{red}} (Example)
- {{orange}} (Example)
- {{yellow}} (Example)
- {{lime}} (Example)
- {{green}} (সাঁচ:Green)
- {{olive}} (সাঁচ:Olive)
- {{teal}} (সাঁচ:Teal)
- {{aqua}} (সাঁচ:Aqua)
- {{blue}} (সাঁচ:Blue)
- {{navy}} (সাঁচ:Navy)
- {{indigo}} (সাঁচ:Indigo)
- {{violet}} (সাঁচ:Violet)
- {{fuchsia}} (সাঁচ:Fuchsia)
- {{purple}} (সাঁচ:Purple)
- {{RebeccaPurple}} (সাঁচ:RebeccaPurple)
- {{black}} (সাঁচ:Black)
- {{greyed}} (সাঁচ:Greyed)
- {{silver}} (সাঁচ:Silver)
- {{white}} (সাঁচ:White)
TemplateData
[উৎস সম্পাদনা]The color template can be used to add a span of text with any given text color
পেৰামিটাৰ | বিৱৰণ | প্ৰকাৰ | স্থিতি | |
---|---|---|---|---|
Color name or code | 1 color | Name of color or hex code of color | ষ্ট্ৰিং | প্ৰয়োজনীয় |
Alpha-numeric text | 2 text | The string of text to be formatted in the desired color | ষ্ট্ৰিং | প্ৰয়োজনীয় |
The above documentation is transcluded from সাঁচ:Color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |