Template:Language: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(sort key seems to not be working; repositioned all ''includeonly'' to see what happens.)
(changed so that language link redirects to proper category)
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}}}]]<includeonly>[[Category:Works in {{{2}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:{{{3}}} texts|{{{3}}}]]<includeonly>[[Category:Works in {{{3}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>
|case: 2=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]]<includeonly>[[Category:Works in {{{2}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:Works in {{{3}}}|{{{3}}}]]<includeonly>[[Category:Works in {{{3}}}|{{{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: 3=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]]<includeonly>[[Category:Works in {{{2}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:Works in {{{3}}}|{{{3}}}]]<includeonly>[[Category:Works in {{{3}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:Works in {{{4}}}|{{{4}}}]]<includeonly>[[Category:Works in {{{4}}}|{{{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>
|case: 4=<b>Languages:</b> [[:Category:{{{2}}} texts|{{{2}}}]]<includeonly>[[Category:Works in {{{2}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:Works in {{{3}}}|{{{3}}}]]<includeonly>[[Category:Works in {{{3}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:Works in {{{4}}}|{{{4}}}]]<includeonly>[[Category:Works in {{{4}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>, [[:Category:Works in {{{5}}}|{{{5}}}]]<includeonly>[[Category:Works in {{{5}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>
|default=<b>Language:</b> [[:Category:{{{1}}} texts|{{{1}}}]]<includeonly>[[Category:Works in {{{1}}}|{{{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 05:23, 12 October 2008

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