Permanently protected template

Template:Lang: Difference between revisions

From Vigyanwiki
Template>Rich Farmbrough
(Undid revision 236437601 by CBDunkerson (talk))
Template>RockMFR
(move #ifexist to end of switch so it is only called when needed)
Line 1: Line 1:
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span><includeonly>{{#ifexist:Category:Articles containing {{ISO 639 name {{{1|}}}}} language text|[[Category:Articles containing {{ISO 639 name {{{1|}}}}} language text]]|{{#Switch:{{{1|}}}
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span><includeonly>{{#switch:{{{1|}}}
|ar=[[Category:Articles containing Arabic language text]]
|ar=[[Category:Articles containing Arabic language text]]
|es=[[Category:Articles containing Spanish language text]]
|es=[[Category:Articles containing Spanish language text]]
Line 6: Line 6:
|ja=[[Category:Articles containing Japanese language text]]
|ja=[[Category:Articles containing Japanese language text]]
|zh=[[Category:Articles containing Chinese language text]]
|zh=[[Category:Articles containing Chinese language text]]
|{{#ifexist:Category:Articles containing {{ISO 639 name {{{1|}}}}} language text
|[[Category:Articles containing {{ISO 639 name {{{1|}}}}} language text]]
|[[Category:Articles containing non-English language text]]
|[[Category:Articles containing non-English language text]]
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
{{documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! --></noinclude>
{{pp-template|small=yes}}
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>

Revision as of 03:53, 23 February 2009

{{{2}}}

Template documentation