Template:Infobox musical artist/color: Difference between revisions
Content deleted Content added
Flowerparty (talk | contribs) override faullty input |
re-disable coloring per MOS:COLOR accessibility guideline and discussion at talk page |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1|}}} |
<includeonly>{{#switch: {{{1|}}} |
||
| solo_singer = #f0e68c <!-- khaki --> |
<!--| solo_singer = #f0e68c <!-- khaki --> |
||
| non_vocal_instrumentalist = #f4bf92 <!-- unnamed pale orange --> |
<!--| non_vocal_instrumentalist = #f4bf92 <!-- unnamed pale orange --> |
||
| non_performing_personnel = #bfe0bf <!-- unnamed pale green --> |
<!--| non_performing_personnel = #bfe0bf <!-- unnamed pale green --> |
||
| group_or_band = #b0c4de <!-- lightsteelblue --> |
<!--| group_or_band = #b0c4de <!-- lightsteelblue --> |
||
| classical_ensemble = #b0e0e6 <!-- PowderBlue --> |
<!--| classical_ensemble = #b0e0e6 <!-- PowderBlue --> |
||
| temporary = #d3d3d3 <!-- LightGrey --> |
<!--| temporary = #d3d3d3 <!-- LightGrey --> |
||
| #b0c4de |
| #b0c4de |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
{{documentation}} |
|||
{{pp-template|small=yes}} |
|||
<!-- |
|||
* 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 01:54, 23 May 2021
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.