Template:Genre: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(pagename to be used when no sortkey defined)
(added option "Both" for work pages that have Madrigals and their sacred contrafactum)
Line 2: Line 2:
|Sacred
|Sacred
|Secular = [[:Category:{{{1}}} music|{{{1}}}]][[Category:{{{1}}} music]]
|Secular = [[:Category:{{{1}}} music|{{{1}}}]][[Category:{{{1}}} music]]
|[[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]
|Both = [[:Category:Secular music|Secular]]/[[:Category:Sacred music|Sacred]][[Category:Secular music]][[Category:Sacred music]]
|[[:Category:{{{1}}} music|{{{1}}}]][[Category:{{{1}}} music]]
}}{{#switch: {{{2|}}}
}}{{#switch: {{{2|}}}
|=
|=

Revision as of 19:01, 28 April 2009


Creates a text Genre: with links to the genre (sacred/secular) and subgenre(s) categories (up to 3 subgenres) and categorizes the page accordingly.

Usage
{{Genre|Sacred|Chorales|Carols|9=sortkey}}

The sortkey is used for subgenres "Masses", "Morning Canticles", "Evening Canticles", "Communion Services" and "Preces and Responses"; it must be in the form "composer's surname, name". All other categories will follow the sort key defined in the DEFAULTSORT of the page, when available.