Template:Infobox song/color

From MusicNation
Jump to navigation Jump to search
[edit] [history] [purge] Documentation icon Template documentation

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

Usage

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

CodeColorLink Display
singlekhakiSingle
Single by artist
song #E6E8FASong
Song by artist
promo #E6E8FAPromotional single
Promotional single by artist
demo #E6E8FADemo
Demo by artist
remix single #E6E8FARemix
Remix by artist
instrumental #E6E8FAInstrumental
Instrumental by artist
composition #E6E8FAComposition
Composition by artist
hymn #E6E8FAHymn
Hymn by artist
nursery #E6E8FANursery rhyme
Nursery rhyme by artist
other #E6E8FAother
other by artist

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Infobox song

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