Template:Genre: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(removed Christmas and added sort key to Canticles.)
m (upd documentation)
Line 34: Line 34:
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|Carols|9=sortkey}}</nowiki></tt>
;Usage: <tt><nowiki>{{Genre|Sacred|Chorales|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.
The '''sortkey''' is only necessary when one of the parameters is "Masses" or "Morning/Evening Canticles"; it must be in the form "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 13:38, 4 February 2009


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|Carols|9=sortkey}}

The sortkey is only necessary when one of the parameters is "Masses" or "Morning/Evening Canticles"; it must be in the form "composer's surname, name". All other categories will follow the DEFAULTSORT: of the page if available.