Template:Genre: Difference between revisions
Jump to navigation
Jump to search
m ('''Genres:''' for dual works) |
m (add lc: to remaining parameters) |
||
Line 17: | Line 17: | ||
|masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | |masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|, [[:Category:{{{2}}}|{{#sub: {{{2}}}||-1}}]][[Category:{{{2}}}]] | |, [[:Category:{{{2}}}|{{#sub: {{{2}}}||-1}}]][[Category:{{{2}}}]] | ||
}}{{#switch: {{{3|}}} | }}{{#switch: {{lc:{{{3|}}}}} | ||
|= | |= | ||
|requiems | |requiems | ||
Line 29: | Line 29: | ||
|masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | |masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}]] | |, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}]] | ||
}}{{#switch: {{{4|}}} | }}{{#switch: {{lc:{{{4|}}}}} | ||
|= | |= | ||
|requiems | |requiems |
Revision as of 06:45, 3 May 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.