Template:Genre: Difference between revisions
Jump to navigation
Jump to search
(syntax corrected) |
m (typos) |
||
Line 37: | Line 37: | ||
|masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | |masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|responsories | |responsories | ||
|offertories =, [[:Category:{{{ | |offertories =, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-3}}y]][[Category:{{{3}}}]] | ||
|, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}]] | |, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}]] | ||
}}{{#switch: {{lc:{{{4|}}}}} | }}{{#switch: {{lc:{{{4|}}}}} | ||
Line 54: | Line 54: | ||
|masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | |masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|responsories | |responsories | ||
|offertories =, [[:Category:{{{ | |offertories =, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-3}}y]][[Category:{{{4}}}]] | ||
|, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-1}}]][[Category:{{{4}}}]] | |, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-1}}]][[Category:{{{4}}}]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 11:49, 19 January 2011
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.