Template:Infobox musical artist/color: Difference between revisions
Content deleted Content added
m moved Template:Infobox Musical artist/color to Template:Infobox musical artist/color: Caps per guidelines |
|||
Line 8: | Line 8: | ||
| #b0c4de |
| #b0c4de |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
{{pp-template |
{{pp-template}} |
||
{{documentation}} |
|||
<!-- |
|||
* IMPORTANT: the default line in the switch above is provisional; * |
|||
* when the design will be settled it shouldn't be possible * |
|||
* to specify anything else than one of the above names. * |
|||
* * |
|||
-->;NOTE |
|||
This template is an implementation detail, encapsulating the color association we use for its parent template. It has a single unnamed parameter and expands to |
|||
*<code><color name></code> if a name exists among the 16 names supported by the HTML 4.0 standard (aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, yellow) |
|||
*<code>#<color hex></code> otherwise. |
|||
<em>No final semicolon is included, ever<em>. |
|||
[[Category:Template implementation details|{{PAGENAME}}]] |
|||
</noinclude> |
</noinclude> |
Revision as of 03:16, 25 September 2009
This template is used on approximately 123,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template provides the background colors used in Template:Infobox musical artist. It has a single unnamed parameter and expands to #<color hex>
if it matches one of the artist categories.
No semicolon is included after the color.