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 ...
When changing or creating a new template, follow the use of colour guidelines and the color accessibility guidelines when choosing the background color and, sometimes, the text color. Many of these templates can be used with links to other articles or references, so the links should be clearly identifiable against the background color.
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.
This page was last edited on 29 January 2025, at 20:17 (UTC).; Text is available under the Creative Commons Attribution-ShareAlike 4.0 License; additional terms may apply.
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: ...
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.