Search results
Results from the WOW.Com Content Network
The color template can be used to add a span of text with any given text color Template parameters [Edit template data] Parameter Description Type Status Color 1 CSS name of color or hex code of color, e.g. 'red' or '#00F000'. String required Text 2 The string of text to be formatted in the desired color String suggested The above documentation is transcluded from Template:Color/doc. (edit ...
If the template has a separate documentation page (usually called "Template:template name/doc"), add [[Category:Color templates]] to the <includeonly> section at the bottom of that page.
To use a colour in a template or table you can use the hex triplet (e.g. #CD7F32 is bronze) or HTML color name (e.g. red).. Editors are encouraged to make use of tools, such as Color Brewer 2 to create Brewer palettes, listed at MOS:COLOR for color scheme selection used in graphical charts, maps, tables, and webpages with accessibility in mind for color-blind and visually impaired users.
Add the new template to the table in the common documentation afterwards. Please consider reusing one of the other templates and please choose the color sensibly. If you find a table cell template that does not take a parameter and you want to be able to change the text in the cell, do not duplicate the template! Instead, edit the template and ...
Alternatively, this template can be used if one parameter is passed {{Color_topics|colour}} More than one parameter will be ignored. The value passed as the first parameter does not matter (for example it could be "x", "colour" or even "color") so long as it is set to something, then Commonwealth spelling will be used.
Note: When hovered over, the template shows the value used for color as a tooltip by default. This is also heard by a screen reader. An optional parameter, |description= can be used to change that to something more user-friendly, as shown in the third example.
Template documentation. Usage {{Web Colors}} produces ... Web colors – Color used in designing web pages This page was last edited on 10 May 2024, at 21: ...
This template is used on approximately 80,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage . Consider discussing changes on the talk page before implementing them.