Difference between revisions of "Template:Composer"

From ChoralWiki
Jump to: navigation, search
m (Reverted edits by Bcjohnston523 (talk) to last revision by Carlos)
(Tag: Rollback)
 
Line 12: Line 12:
 
|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|}}} {{IfMain|[[Category:{{{1}}} compositions]]{{#ifeq:{{{composertype}}}|Arranger|[[Category:{{{1}}} arrangements]][[Category:Arrangers| {{{1}}}]]}} }}
+
|{{{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>

Latest revision as of 04:13, 26 July 2019


Documentation

Accepted syntaxes for this template:

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