Template:Infobox song/color/doc

From Wikipedia, the free encyclopedia

When modifying this template, don't forget to update Template:Infobox song/link.

Usage[edit]

This 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[edit]

Code Color Link Display
single khaki Single
Single by artist
song #E6E8FA Song
Song by artist
promo #E6E8FA Promotional single
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[edit]

This 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.

Template parameters

ParameterDescriptionTypeStatus
Type1

Type of recording

Stringrequired
Testing only2

Custom colour value. Not necessary in almost all cases

Unknowndeprecated

See also[edit]