Difference between revisions of "Template:Lang"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
'''A helper template for use with [[Template:i18n]].''
+
'''A helper template for use with [[Template:i18n]].'''</noinclude><includeonly>[[{{{1}}} ({{{2}}})|{{{2}}}]]&nbsp;&ndash;</includeonly>
 
 
[[{{{1}}} ({{{2}}})|{{{2}}}]]&nbsp;&ndash;
 
'</noinclude>
 
 
 
<includeonly>
 
<span lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}}>{{{2}}}</span>{{category handler
 
|main = [[Category:Articles containing {{#switch:{{{1|}}}
 
  |en|eng  = explicitly cited English
 
  |#default = {{#ifexist:Category:Articles containing {{ISO 639 name|{{{1|}}}}}-language text
 
    |{{ISO 639 name|{{{1|}}}}}
 
    |non-English
 
    }}
 
  }}-language text]]
 
|nocat = {{{nocat|}}}
 
}}
 
</includeonly>
 

Latest revision as of 23:08, 21 August 2014

A helper template for use with Template:i18n.