Anonymous user
Template:Lang: Difference between revisions
Adding whitespace stripping around parameter 2, by using "{{#if:x| }}", since we need it in some cases.
(Adding whitespace stripping around parameter 2, by using "{{#if:x| }}", since we need it in some cases.) |
|||
Line 1:
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{#if:x| {{{2}}} }}</span>{{#if:{{NAMESPACE}}
| <!--Not article space, do nothing-->
|[[Category:Articles containing {{#switch:{{{1|}}}▼
| <!--Article space-->
|ar = Arabic
|es = Spanish
Line 23 ⟶ 25:
|en|eng = explicitly cited English
|#default = {{#ifexist:Category:Articles containing {{ISO 639 name {{{1|}}}}} language text
|{{ISO 639 name {{{1|}}}}}
|non-English
}}
}}<noinclude>
{{pp-template
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
|