வார்ப்புரு: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.
See also தொகு
There are individual templates for the most common colors and Web colors. Don't create more without a compelling reason:
- {{Darkred}} (Example)
- {{Maroon}} (Example)
- {{Red}} (Example)
- {{Orange}} (Example)
- {{Yellow}} (Example)
- {{Lime}} (Example)
- {{Green}} (Example)
- {{Olive}} (Example)
- {{Teal}} (Example)
- {{Aqua}} (Example)
- {{Blue}} (Example)
- {{Navy}} (Example)
- {{Indigo}} (Example)
- {{Violet}} (Example)
- {{Fuchsia}} (Example)
- {{Purple}} (Example)
- {{RebeccaPurple}} (Example)
- {{Black}} (Example)
- {{Greyed}} (Example)
- {{Silver}} (Example)
- {{White}} (Example)
TemplateData தொகு
The color template can be used to add a span of text with any given text color
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color name or code | 1 color | Name of color or hex code of color | String | required |
Alpha-numeric text | 2 text | The string of text to be formatted in the desired color | String | required |
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 to the /doc subpage. Subpages of this template. |