Template:Composer: Difference between revisions
Jump to navigation
Jump to search
Documentation
Richard Mix (talk | contribs) (expand to 4 (see Canons (Wolfgang Amadeus Mozart)) |
m (Reverted edits by Bcjohnston523 (talk) to last revision by Carlos) Tag: Rollback |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{switch | <includeonly>{{#switch:{{{1}}} | ||
| | |2='''{{{composertype|{{{composertype1|Composer}}}}}}s:''' [[{{{2}}}]] and [[{{{3}}}]]{{{4|}}} {{IfMain|[[Category:{{{2}}} compositions]][[Category:{{{3}}} compositions]][[Category:Works by multiple composers]]{{#ifeq:{{{composertype}}}|Arranger|[[Category:{{{2}}} arrangements]][[Category:{{{3}}} arrangements]]}} }} | ||
| | |3='''{{{composertype|{{{composertype1|Composer}}}}}}s:''' [[{{{2}}}]], [[{{{3}}}]] and [[{{{4}}}]]{{{5|}}} {{IfMain|[[Category:{{{2}}} compositions]][[Category:{{{3}}} compositions]][[Category:{{{4}}} compositions]][[Category:Works by multiple composers]]{{#ifeq:{{{composertype}}}|Arranger|[[Category:{{{2}}} arrangements]][[Category:{{{3}}} arrangements]][[Category:{{{4}}} arrangements]]}} }} | ||
[[Category:{{{4}}} compositions]][[Category:Works by multiple composers]] | |4='''{{{composertype|{{{composertype1|Composer}}}}}}s:''' [[{{{2}}}]], [[{{{3}}}]], [[{{{4}}}]] and [[{{{5}}}]]{{{6|}}} {{IfMain|[[Category:{{{2}}} compositions]][[Category:{{{3}}} compositions]][[Category:{{{4}}} compositions]][[Category:{{{5}}} compositions]][[Category:Works by multiple composers]]{{#ifeq:{{{composertype}}}|Arranger|[[Category:{{{2}}} arrangements]][[Category:{{{3}}} arrangements]][[Category:{{{4}}} arrangements]][[Category:{{{5}}} arrangements]]}} }} | ||
| | |#default='''{{{composertype|{{{composertype1|Composer}}}}}}:''' {{#ifexist:{{{1}}} | ||
[[Category:{{{ | |||
|default='''{{{composertype|{{{composertype1|Composer}}}}}}:''' {{#ifexist:{{{1}}} | |||
|{{#switch:{{{1}}} | |{{#switch:{{{1}}} | ||
|Ambrosian chant | |Ambrosian chant | ||
|Gregorian chant | |Gregorian chant | ||
|Kievan chant | |Kievan chant | ||
| | |Yaroslav chant | ||
|Znamenny chant | |Znamenny chant | ||
|Traditional=[[{{{1}}}|Anonymous ({{{1}}})]] | |Traditional=[[{{{1}}}|Anonymous ({{{1}}})]] | ||
|#default=[[{{{1}}}]]}} | |#default=[[{{{1}}}]]}} | ||
|{{{1}}}<small><sup>[{{fullurl:{{{1}}}|action=edit&preload=Template:New_composer/Preload}} create page]</sup></small>[[Category:Works with nonexistent composer page]]}}{{{2|}}} [[Category:{{{1}}} compositions]] | |{{{1}}}<small><sup>[{{fullurl:{{{1}}}|action=edit&preload=Template:New_composer/Preload}} create page]</sup></small>[[Category:Works with nonexistent composer page]]}}{{{2|}}} {{IfMain|[[Category:{{{1}}} compositions]]{{#ifeq:{{{composertype}}}|Arranger|[[Category:{{{1}}} arrangements]]}} }} | ||
}}<br></includeonly><noinclude> | }}<br></includeonly><noinclude> | ||
{{prot-temp}}<br> | {{prot-temp}}<br> | ||
Line 31: | Line 29: | ||
'''Syntaxes for more than one composer:''' | '''Syntaxes for more than one composer (up to 4):''' | ||
* {{tl|Composer|''2''|''composer1''|''composer2''|''optional_text''}} | * {{tl|Composer|''2''|''composer1''|''composer2''|''optional_text''}} | ||
:which produces the text | :which produces the text |
Revision as of 04:13, 26 July 2019
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
Accepted syntaxes for this template:
- {{Composer|Carlo Gesualdo}}
- which produces the text
- Composer: Carlo Gesualdo
- and inserts the page in category Carlo Gesualdo compositions
- {{Composer|Anonymous|, early-16th Century composer}}
- which produces the text
- Composer: Anonymous, early-16th Century composer
- and inserts the page in category Anonymous compositions
Syntaxes for more than one composer (up to 4):
- {{Composer|2|composer1|composer2|optional_text}}
- which produces the text
- Composers: Composer1 and Composer2
- and inserts the page in categories Composer1 compositions and Composer2 compositions
- {{Composer|3|composer1|composer2|composer3|optional_text}}
- which produces the text
- Composers: Composer1, Composer2 and Composer3
- and inserts the page in categories Composer1 compositions, Composer2 compositions and Composer3 compositions