Template:Composer: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (Text replace - ''''Composer:''' Traditional' to '{{Composer|Traditional}}')
m (Reverted edits by CHGiffen (Talk); changed back to last version by Carlos)
Line 21: Line 21:
* <tt><nowiki>{{Composer|</nowiki>''Traditional''|''9=Riddle Song, The''}}</tt>
* <tt><nowiki>{{Composer|</nowiki>''Traditional''|''9=Riddle Song, The''}}</tt>
:which produces the text
:which produces the text
:: {{Composer|Traditional}}
:: '''Composer:''' [[Traditional]]
:and inserts the page in category {{CiteCat|Traditional compositions}}, sorted under "Riddle Song, The".
:and inserts the page in category {{CiteCat|Traditional compositions}}, sorted under "Riddle Song, The".



Revision as of 20:31, 20 November 2008

Composer: [[{{{1}}}]]


Documentation

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
  • {{Composer|Traditional|9=Riddle Song, The}}
which produces the text
Composer: Traditional
and inserts the page in category Traditional compositions, sorted under "Riddle Song, The".

Syntaxes for more than one composer:

  • {{Composer|2|composer_1|composer_2|optional_text|9=optional_sortkey}}
which produces the text
Composers: Composer_1 and Composer_2
and inserts the page in categories Composer_1 compositions and Composer_2 compositions
  • {{Composer|3|composer_1|composer_2|composer_3|optional_text|9=optional_sortkey}}
which produces the text
Composers: Composer_1, Composer_2 and Composer_3
and inserts the page in categories Composer_1 compositions, Composer_2 compositions and Composer_3 compositions