Template:Language: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(added sort key to Category:Templates)
(make template also add Category:<language> works)
Line 1: Line 1:
<!-- This template is only meant to format the entry for a single language. If a work has multiple languages, do not specify {{Language|French, Italian}}, but make the first variable equal to the required number, e.g. {{Language|2|French|Italian}} -->
<!-- This template is only meant to format the entry for a single language. If a work has multiple languages, do not specify {{Language|French, Italian}}, but make the first variable equal to the required number, e.g. {{Language|2|French|Italian}} -->
{{switch|{{{1}}}
{{switch|{{{1}}}
|case: 2=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]], [[:Category:{{{3}}} texts|{{{3}}}]]
|case: 2=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]][[Category:{{{2}}} works]], [[:Category:{{{3}}} texts[[Category:{{{3}}} works]]|{{{3}}}]]
|case: 3=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]], [[:Category:{{{3}}} texts|{{{3}}}]], [[:Category:{{{4}}} texts|{{{4}}}]]
|case: 3=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]][[Category:{{{2}}} works]], [[:Category:{{{3}}} texts|{{{3}}}]][[Category:{{{3}}} works]], [[:Category:{{{4}}} texts|{{{4}}}]][[Category:{{{4}}} works]]
|default=<b>Language:</b> [[:Category:{{{1}}} texts|{{{1}}}]]
|default=<b>Language:</b> [[:Category:{{{1}}} texts|{{{1}}}]][[Category:{{{1}}} works]]
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 08:04, 26 January 2008

Language: [[:Category:{{{1}}} texts|{{{1}}}]][[Category:{{{1}}} works]]