Difference between revisions of "Template:Infobox musical artist/color"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(removed the initial comment that "simulated" a blank line) |
(fixed now (#switch has a few quirks that should be fixed or at least mentioned in the help page!)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1|}}} | <includeonly>{{#switch: {{{1|}}} | ||
− | + | | solo_singer = #f0e68c <!-- khaki --> | |
− | + | | non_vocal_instrumentalist = #f08080 <!-- lightcoral --> | |
− | + | | non-performing_personnel = #90ee90 <!-- lightgreen --> | |
− | + | | group_band = #87cefa <!-- lightskyblue --> | |
− | + | | cover_band = #dda0dd <!-- plum --> | |
− | + | | classical_ensemble = #afeeee <!-- paleturquoise --> | |
− | + | | temporary = #a9a9a9 <!-- darkgray --> | |
− | + | | default = {{{1|#a9a9a9}}} | |
− | + | }};</includeonly><noinclude><!-- | |
− | + | ||
− | + | * IMPORTANT: the default line in the switch above is provisional; * | |
− | ;NOTE | + | * when the design will be settled it shouldn't be possible * |
− | This template is an implementation detail, encapsulating the color association | + | * 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 | ||
+ | *<color name>; 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) | ||
+ | *#<color hex>; otherwise. | ||
+ | |||
+ | Note that the semicolon is <em>always</em> included. | ||
+ | |||
+ | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
+ | [[Category:Template implementation details|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 19:05, 27 April 2006
- 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
- <color name>; 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)
- #<color hex>; otherwise.
Note that the semicolon is always included.