Template:Lang: Difference between revisions

586 bytes removed ,  2 years ago
m
92 revisions imported from wikipedia:Template:Lang
(make a red-linked category identifying the name of the unknown/missing ISO 639 language template, to make these easier to track down and fix. the category should automatically go away when the template with the same name is created.)
m (92 revisions imported from wikipedia:Template:Lang)
 
(8 intermediate revisions by 6 users not shown)
Line 1:
<includeonly>{{#invoke:Lang|{{{fn|lang}}}}}</includeonly><noinclude>
<span lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}} {{#if:{{{size|}}}|style="font-size:{{{size}}};"}}>{{{2}}}</span>{{#if:{{{rtl|}}}|&lrm;}}{{#ifexist:Template:ISO 639 name {{{1|}}}|{{Category handler
|main = [[Category:Articles containing {{#switch:{{{1|}}}
|en|eng = explicitly cited English
|#default = {{#ifexist:Category:Articles containing {{ISO 639 name|{{#if:{{{1|}}}|{{{1}}}|non-English}}}}-language text
|{{ISO 639 name|{{{1|}}}}}
|non-English
}}
}}-language text]]
| nocat = {{{nocat|}}}
}}|{{main other|[[Category:Articles containing unknown ISO 639 language template|{{{1}}}]] [[Category:ISO 639 name {{{1|}}}]]}}}}<noinclude>
{{Documentation}}
</noinclude>