Template:Genre: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (typo) |
||
Line 5: | Line 5: | ||
|both ='''Genres:''' {{cat|Secular music|Secular}} & {{cat|Sacred music|Sacred}} | |both ='''Genres:''' {{cat|Secular music|Secular}} & {{cat|Sacred music|Sacred}} | ||
|#default ='''Genre:''' [[:Category:Unknown genre|{{{1|Unknown}}}]][[Category:Works with invalid genre]] | |#default ='''Genre:''' [[:Category:Unknown genre|{{{1|Unknown}}}]][[Category:Works with invalid genre]] | ||
}}{{# | }}{{#if:{{{2|}}} | ||
|{{Subgenre|{{{2}}}|{{{sort|{{{9|}}}}}}}}|[[Category:Works with invalid genre]]<!-- first subgenre must not be empty --> | |||
}}{{Subgenre|{{{3|}}}|{{{sort|{{{9|}}}}}} | |||
}}{{Subgenre|{{{4|}}}|{{{sort|{{{9|}}}}}} | }}{{Subgenre|{{{4|}}}|{{{sort|{{{9|}}}}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 01:08, 25 February 2012
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.