Template:Lang: Difference between revisions
From All Skies Encyclopaedia
imported>Davidgothberg Adding whitespace stripping around parameter 2, by using "{{#if:x| }}", since we need it in some cases. |
imported>Dbachmann reverting last edit: it broke rendering if parameter {{{1}}} begins with '*', the * now results in a bullet. |
||
| Line 1: | Line 1: | ||
<span lang="{{{1}}}" xml:lang="{{{1}}}"> | <span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span>{{#if:{{NAMESPACE}}| | ||
| | |[[Category:Articles containing {{#switch:{{{1|}}} | ||
| | |||
|ar = Arabic | |ar = Arabic | ||
|es = Spanish | |es = Spanish | ||
| Line 25: | Line 23: | ||
|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|}}}}} | |||
|non-English | |||
}} | |||
}} language text]] | |||
}}<noinclude> | }}<noinclude> | ||
{{pp-template|small=yes}} | |||
{{pp-template}} | |||
{{documentation}} | {{documentation}} | ||
<!-- Add cats and interwikis to the /doc subpage, not here! --> | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 18:46, 8 January 2010
{{{2}}}
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]






