This is a documentation subpage for Template:Infobox song/color. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 79,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
When modifying this template, don't forget to update Template:Infobox song/link.
Usage
editThis is an auxiliary template used by {{Infobox song}} and several other templates used in its |misc=
parameter. The first parameter should be one of the codes from the table below, representing a type of recording. The template returns the wikilinked version of the text.
Quick reference table
editCode | Color | Link | Display |
---|---|---|---|
single | khaki | Single | Single by artist
|
song | #E6E8FA | Song | Song by artist
|
promo | #E6E8FA | Promotional single | Promotional single by artist
|
demo | #E6E8FA | Demo | Demo by artist
|
remix single | #E6E8FA | Remix | Remix by artist
|
instrumental | #E6E8FA | Instrumental | Instrumental by artist
|
composition | #E6E8FA | Composition | Composition by artist
|
hymn | #E6E8FA | Hymn | Hymn by artist
|
nursery | #E6E8FA | Nursery rhyme | Nursery rhyme by artist
|
other | #E6E8FA | other | other by artist
|
TemplateData
editThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox song/color in articles based on its TemplateData.
TemplateData for Infobox song/color
Colour selection template for {{Infobox song}} and associated templates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | 1 | Type of recording | String | required |
Testing only | 2 | Custom colour value. Not necessary in almost all cases | Unknown | deprecated |
See also
edit