Difference between revisions of "Template:Infobox musical artist/color"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>WOSlinker
m (Changed protection level of Template:Infobox musical artist/color: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite)))
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
| #b0c4de
 
| #b0c4de
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{pp-template|small=yes}}
+
{{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>

Latest revision as of 11:00, 19 October 2013

Template documentation[view] [edit] [history] [purge]

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.