Template:Language: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
(sort key seems to not be working; repositioned all ''includeonly'' to see what happens.)
Line 1: Line 1:
<!-- This template is only meant to format the entry for a single language. If a work has multiple languages (up to 4), 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 (up to 4), 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:Works in {{{2}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]], [[:Category:{{{3}}} texts|{{{3}}}]][[Category:Works in {{{3}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]]
|case: 2=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]]<includeonly>[[Category:Works in {{{2}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:{{{3}}} texts|{{{3}}}]]<includeonly>[[Category:Works in {{{3}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>
|case: 3=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]][[Category:Works in {{{2}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]], [[:Category:{{{3}}} texts|{{{3}}}]][[Category:Works in {{{3}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]], [[:Category:{{{4}}} texts|{{{4}}}]][[Category:Works in {{{4}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]]
|case: 3=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]]<includeonly>[[Category:Works in {{{2}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:{{{3}}} texts|{{{3}}}]]<includeonly>[[Category:Works in {{{3}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:{{{4}}} texts|{{{4}}}]]<includeonly>[[Category:Works in {{{4}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>
|case: 4='''Languages:''' [[:Category:{{{2}}} texts|{{{2}}}]][[Category:Works in {{{2}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]], [[:Category:{{{3}}} texts|{{{3}}}]][[Category:Works in {{{3}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]], [[:Category:{{{4}}} texts|{{{4}}}]][[Category:Works in {{{4}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]], [[:Category:{{{5}}} texts|{{{5}}}]][[Category:Works in {{{5}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]]
|case: 4=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]]<includeonly>[[Category:Works in {{{2}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:{{{3}}} texts|{{{3}}}]]<includeonly>[[Category:Works in {{{3}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:{{{4}}} texts|{{{4}}}]]<includeonly>[[Category:Works in {{{4}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:{{{5}}} texts|{{{5}}}]]<includeonly>[[Category:Works in {{{5}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>
|default=<b>Language:</b> [[:Category:{{{1}}} texts|{{{1}}}]][[Category:Works in {{{1}}}<includeonly>|{{{9|{{PAGENAME}}}}}</includeonly>]]
|default=<b>Language:</b> [[:Category:{{{1}}} texts|{{{1}}}]]<includeonly>[[Category:Works in {{{1}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>
}}<br><noinclude>
}}<br><noinclude>
{{prot-temp}}
{{prot-temp}}
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:30, 28 May 2008

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