Template:Lang: Difference between revisions

From Vigyanwiki
Template>Wbm1058
(fix default to check for {{{1}}} to prevent false-positive {{error}}s)
m (93 revisions imported from alpha:Template:Lang)
 
(12 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<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
<includeonly>{{#invoke:Lang|{{{fn|lang}}}}}</includeonly><noinclude>
|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}}}]]}}}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 09:17, 13 December 2022

Template documentation