Jump to content

Template:Infobox song/color/doc

From Simple English Wikipedia, the free encyclopedia

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

Usage[change]

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[change]

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[change]

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

<templatedata> { "params": { "1": { "label": "Type", "description": "Type of recording", "type": "string", "required": true }, "2": { "label": "Testing only", "description": "Custom colour value. Not necessary in almost all cases", "deprecated": "Don't use this" } },

"description": "Colour selection template for

"Infobox song/color/doc"
Song

and associated templates."

} </templatedata>