Template:Genre: Difference between revisions
Jump to navigation
Jump to search
(made Dual = Both) |
m ('''Genres:''' for dual works) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#switch: {{lc:{{{1}}}}} | ||
|sacred | |sacred | ||
|secular = [[:Category:{{{1}}} music|{{{1}}}]][[Category:{{{1}}} music]] | |secular = '''Genre:''' [[:Category:{{{1}}} music|{{{1}}}]][[Category:{{{1}}} music]] | ||
|dual | |dual | ||
|both = [[:Category:Secular music|Secular]] & [[:Category:Sacred music|Sacred]][[Category:Secular music]][[Category:Sacred music]] | |both = '''Genres:''' [[:Category:Secular music|Secular]] & [[:Category:Sacred music|Sacred]][[Category:Secular music]][[Category:Sacred music]] | ||
|[[:Category:{{{1}}} music|{{{1}}}]][[Category:{{{1}}} music]] | |'''Genre:''' [[:Category:{{{1}}} music|{{{1}}}]][[Category:{{{1}}} music]] | ||
}}{{#switch: {{lc:{{{2|}}}}} | }}{{#switch: {{lc:{{{2|}}}}} | ||
|= | |= |
Revision as of 01:50, 30 April 2009
Creates a text Genre: with links to genre (options: "Sacred", "Secular", and "Dual" or "Both") and subgenre(s) categories (up to 3 subgenres) and categorizes the work page accordingly.
- Usage
- {{Genre|Sacred|Chorales|Carols|<sort=Composer's surname, name>}} or
{{Genre|sacred|chorales|carols|<9=Composer's surname, name>}}
The optional <sort=...> parameter is only required 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.