Template:Genre: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(add sortkey) |
||
Line 9: | Line 9: | ||
|Liturgical music | |Liturgical music | ||
|Shape Notes =, [[:Category:{{{2}}}|{{{2}}}]][[Category:{{{2}}}]] | |Shape Notes =, [[:Category:{{{2}}}|{{{2}}}]][[Category:{{{2}}}]] | ||
|Lieder | |Lieder =, [[:Category:{{{2}}}|{{#sub: {{{2}}}||-2}}]][[Category:{{{2}}}]] | ||
|Masses =, [[:Category:Masses|Mass]][[Category:{{{2}}}|{{{9|{{PAGENAME}}}}}]] | |||
|, [[:Category:{{{2}}}|{{#sub: {{{2}}}||-1}}]][[Category:{{{2}}}]] | |, [[:Category:{{{2}}}|{{#sub: {{{2}}}||-1}}]][[Category:{{{2}}}]] | ||
}}{{#switch: {{{3|}}} | }}{{#switch: {{{3|}}} | ||
Line 18: | Line 18: | ||
|Liturgical music | |Liturgical music | ||
|Shape Notes =, [[:Category:{{{3}}}|{{{3}}}]][[Category:{{{3}}}]] | |Shape Notes =, [[:Category:{{{3}}}|{{{3}}}]][[Category:{{{3}}}]] | ||
|Lieder | |Lieder =, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-2}}]][[Category:{{{3}}}]] | ||
|Masses =, [[:Category:Masses|Mass]][[Category:{{{3}}}|{{{9|{{PAGENAME}}}}}]] | |||
|, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}]] | |, [[:Category:{{{3}}}|{{#sub: {{{3}}}||-1}}]][[Category:{{{3}}}]] | ||
}}{{#switch: {{{4|}}} | }}{{#switch: {{{4|}}} | ||
Line 27: | Line 27: | ||
|Liturgical music | |Liturgical music | ||
|Shape Notes =, [[:Category:{{{4}}}|{{{4}}}]][[Category:{{{4}}}]] | |Shape Notes =, [[:Category:{{{4}}}|{{{4}}}]][[Category:{{{4}}}]] | ||
|Lieder | |Lieder =, [[:Category:{{{4}}}|{{#sub: {{{4}}}||-2}}]][[Category:{{{4}}}]] | ||
|Masses =, [[:Category:Masses|Mass]][[Category:{{{4}}}|{{{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 (sacred/secular) and subgenre(s) categories (up to 3 subgenres) and categorizes the page accordingly. | Creates a text '''Genre:''' with links to the genre (sacred/secular) and subgenre(s) categories (up to 3 subgenres) and categorizes the page accordingly. | ||
;Usage: <tt><nowiki>{{Genre|Sacred|Chorales|Christmas}}</nowiki></tt> | ;Usage: <tt><nowiki>{{Genre|Sacred|Chorales|Christmas|Carols|9=sortkey}}</nowiki></tt> | ||
The '''sortkey''' is for the moment only used for Category:Masses; it should be composer's "surname, name". All other categories will follow the DEFAULTSORT: of the page if available. | |||
}} | }} | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 05:19, 15 December 2008
Creates a text Genre: with links to the genre (sacred/secular) and subgenre(s) categories (up to 3 subgenres) and categorizes the page accordingly.
- Usage
- {{Genre|Sacred|Chorales|Christmas|Carols|9=sortkey}}
The sortkey is for the moment only used for Category:Masses; it should be composer's "surname, name". All other categories will follow the DEFAULTSORT: of the page if available.