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