Template:Lang: Difference between revisions
Appearance
wikademia>RockMFR move #ifexist to end of switch so it is only called when needed |
wikademia>Wikademia m 1 revision |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span | <span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span>{{#if:{{NAMESPACE}}| | ||
|ar= | |[[Category:Articles containing {{#switch:{{{1|}}} | ||
|es= | |ar = Arabic | ||
|de= | |es = Spanish | ||
|fr= | |de = German | ||
|ja= | |fr = French | ||
|zh= | |ja = Japanese | ||
|{{#ifexist:Category:Articles containing {{ISO 639 name {{{1|}}}}} language text | |zh = Chinese | ||
| | |bg = Bulgarian | ||
| | |cs = Czech | ||
}} | |da = Danish | ||
|nl = Dutch | |||
|et = Estonian | |||
|fi = Finnish | |||
|el = Greek | |||
|hu = Hungarian | |||
|ga = Irish | |||
|grc = non-English | |||
|la = Latin | |||
|cy = Welsh | |||
|#default = {{#ifexist:Category:Articles containing {{ISO 639 name {{{1|}}}}} language text | |||
|{{ISO 639 name {{{1|}}}}} | |||
|non-English | |||
}} | |||
}} language text]] | |||
}}<noinclude> | |||
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
{{documentation}} | {{documentation}} | ||
<!-- Add cats and interwikis to the /doc subpage, not here! --> | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 20:17, 26 April 2009
{{{2}}}
[create]
Template documentation