Difference between revisions of "Template:Lang"
Jump to navigation
Jump to search
imported>Rich Farmbrough (Undid revision 236437601 by CBDunkerson (talk)) |
imported>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>{{# | + | <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> |