Template:Genre: Difference between revisions
Jump to navigation
Jump to search
(added option "Both" for work pages that have Madrigals and their sacred contrafactum) |
(added parameter "sort" and updated documentation) |
||
Line 7: | Line 7: | ||
|= | |= | ||
|Requiems | |Requiems | ||
|Communion Services =, [[:Category:{{{2}}}|{{#sub: {{{2}}}||-1}}]][[Category:{{{2}}}|{{{9|{{PAGENAME}}}}}]] | |Communion Services =, [[:Category:{{{2}}}|{{#sub: {{{2}}}||-1}}]][[Category:{{{2}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|Preces and Responses | |Preces and Responses | ||
|Morning Canticles | |Morning Canticles | ||
|Evening Canticles =, [[:Category:{{{2}}}|{{{2}}}]][[Category:{{{2}}}|{{{9|{{PAGENAME}}}}}]] | |Evening Canticles =, [[:Category:{{{2}}}|{{{2}}}]][[Category:{{{2}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|Liturgical music | |Liturgical music | ||
|Shape Notes =, [[:Category:{{{2}}}|{{{2}}}]][[Category:{{{2}}}]] | |Shape Notes =, [[:Category:{{{2}}}|{{{2}}}]][[Category:{{{2}}}]] | ||
|Lieder =, [[:Category:Lieder|Lied]][[Category:Lieder]] | |Lieder =, [[:Category:Lieder|Lied]][[Category:Lieder]] | ||
|Masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{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: {{{3|}}} | ||
|= | |= | ||
|Requiems | |Requiems | ||
|Communion Services =, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}|{{{9|{{PAGENAME}}}}}]] | |Communion Services =, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|Preces and Responses | |Preces and Responses | ||
|Morning Canticles | |Morning Canticles | ||
|Evening Canticles =, [[:Category:{{{3}}}|{{{3}}}]][[Category:{{{3}}}|{{{9|{{PAGENAME}}}}}]] | |Evening Canticles =, [[:Category:{{{3}}}|{{{3}}}]][[Category:{{{3}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|Liturgical music | |Liturgical music | ||
|Shape Notes =, [[:Category:{{{3}}}|{{{3}}}]][[Category:{{{3}}}]] | |Shape Notes =, [[:Category:{{{3}}}|{{{3}}}]][[Category:{{{3}}}]] | ||
|Lieder =, [[:Category:Lieder|Lied]][[Category:Lieder]] | |Lieder =, [[:Category:Lieder|Lied]][[Category:Lieder]] | ||
|Masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{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: {{{4|}}} | ||
|= | |= | ||
|Requiems | |Requiems | ||
|Communion Services =, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-1}}]][[Category:{{{4}}}|{{{9|{{PAGENAME}}}}}]] | |Communion Services =, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-1}}]][[Category:{{{4}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|Preces and Responses | |Preces and Responses | ||
|Morning Canticles | |Morning Canticles | ||
|Evening Canticles =, [[:Category:{{{4}}}|{{{4}}}]][[Category:{{{4}}}|{{{9|{{PAGENAME}}}}}]] | |Evening Canticles =, [[:Category:{{{4}}}|{{{4}}}]][[Category:{{{4}}}|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|Liturgical music | |Liturgical music | ||
|Shape Notes =, [[:Category:{{{4}}}|{{{4}}}]][[Category:{{{4}}}]] | |Shape Notes =, [[:Category:{{{4}}}|{{{4}}}]][[Category:{{{4}}}]] | ||
|Lieder =, [[:Category:Lieder|Lied]][[Category:Lieder]] | |Lieder =, [[:Category:Lieder|Lied]][[Category:Lieder]] | ||
|Masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{9|{{PAGENAME}}}}}]] | |Masses =, [[:Category:Masses|Mass]][[Category:Masses|{{{sort|{{{9|{{PAGENAME}}}}}}}}]] | ||
|, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-1}}]][[Category:{{{4}}}]] | |, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-1}}]][[Category:{{{4}}}]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{DisplayBox|bgcolor=g|text= | {{DisplayBox|bgcolor=g|text= | ||
Creates a text '''Genre:''' with links to the genre ( | Creates a text '''Genre:''' with links to the genre (options: Sacred/Secular/Both) and subgenre(s) categories (up to 3 subgenres) and categorizes the page accordingly. | ||
;Usage: <tt><nowiki>{{Genre|Sacred|Chorales|Carols| | ;Usage: <tt><nowiki>{{Genre|Sacred|Chorales|Carols|sort=Composer's surname, name}}</nowiki></tt> | ||
The ''' | The '''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. | ||
}} | }} | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 19:05, 28 April 2009
Creates a text Genre: with links to the genre (options: Sacred/Secular/Both) and subgenre(s) categories (up to 3 subgenres) and categorizes the page accordingly.
- Usage
- {{Genre|Sacred|Chorales|Carols|sort=Composer's surname, name}}
The 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.