Template:Genre: Difference between revisions
Jump to navigation
Jump to search
m (add lc: to remaining parameters) |
(Unknown genre) |
||
Line 7: | Line 7: | ||
}}{{#switch: {{lc:{{{2|}}}}} | }}{{#switch: {{lc:{{{2|}}}}} | ||
|= | |= | ||
|unknown = , [[:Category:Unknown genre|Unknown]][[Category:Unknown genre]] | |||
|requiems | |requiems | ||
|communion services =, [[:Category:{{{2}}}|{{#sub: {{{2}}}||-1}}]][[Category:{{{2}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | |communion services =, [[:Category:{{{2}}}|{{#sub: {{{2}}}||-1}}]][[Category:{{{2}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
Line 19: | Line 20: | ||
}}{{#switch: {{lc:{{{3|}}}}} | }}{{#switch: {{lc:{{{3|}}}}} | ||
|= | |= | ||
|unknown = , [[:Category:Unknown genre|Unknown]][[Category:Unknown genre]] | |||
|requiems | |requiems | ||
|communion services =, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | |communion services =, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
Line 31: | Line 33: | ||
}}{{#switch: {{lc:{{{4|}}}}} | }}{{#switch: {{lc:{{{4|}}}}} | ||
|= | |= | ||
|unknown = , [[:Category:Unknown genre|Unknown]][[Category:Unknown genre]] | |||
|requiems | |requiems | ||
|communion services =, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-1}}]][[Category:{{{4}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | |communion services =, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-1}}]][[Category:{{{4}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] |
Revision as of 04:21, 17 April 2010
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.