Template:Genre: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><b>Genre:</b>&nbsp;{{#switch: {{{1}}}
<includeonly><b>Genre:</b>&nbsp;{{#switch: {{{1}}}
|Sacred music  =[[:Category:{{{1}}}|Sacred]][[Category:{{{1}}}]]
|Sacred
|Secular music =[[:Category:{{{1}}}|Secular]][[Category:{{{1}}}]]
|Secular = [[:Category:{{{1}}} music|{{{1}}}]][[Category:{{{1}}} music]]
|[[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]
|[[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]
}}{{#switch: {{{2|}}}
}}{{#switch: {{{2|}}}
Line 33: Line 33:
{{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 music|Chorales|Christmas}}</nowiki></tt>
;Usage: <tt><nowiki>{{Genre|Sacred|Chorales|Christmas}}</nowiki></tt>
}}
}}
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 02:35, 8 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}}