Шаблон:Infobox song/color: различия между версиями
Перейти к навигации
Перейти к поиску
and associated templates."
Нет описания правки |
Нет описания правки |
||
(не показаны 4 промежуточные версии этого же участника) | |||
Строка 1: | Строка 1: | ||
<includeonly>{{#switch: {{lc:{{{1|}}}}} | <includeonly>{{#switch: {{lc:{{{1|}}}}} | ||
|single|[[single (music)|single]]|singles|[[single (music)|singles]]=khaki | |single|[[single (music)|single]]|singles|[[single (music)|singles]]=khaki | ||
||demo|[[demo (music)]]|promo|promotional single|[[promotional single]]|[[promotional recording|promotional single]]|[[Single (music)|Promotional single]]|remix single|[[remix]]|instrumental|[[instrumental]]|composition|[[musical composition|composition]]|hymn|[[hymn]]|nursery|nursery rhyme|[[nursery rhyme]]|song|[[song]]= # | ||demo|[[demo (music)]]|promo|promotional single|[[promotional single]]|[[promotional recording|promotional single]]|[[Single (music)|Promotional single]]|remix single|[[remix]]|instrumental|[[instrumental]]|composition|[[musical composition|composition]]|hymn|[[hymn]]|nursery|nursery rhyme|[[nursery rhyme]]|song|[[song]]= #98DFE0; | ||
|{{{2| # | |{{{2|  #98DFE0;}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Текущая версия от 19:49, 11 февраля 2024
This template is used on many 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
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
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox song in articles based on its TemplateData.
TemplateData for Infobox song
<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 forInfobox song/color | |
---|---|
Song | |
Stems | {{{Stems}}} |
} </templatedata>