Difference between revisions of "Template:Lang"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 3: Line 3:
  
 
[[{{{1}}} ({{{2}}})|{{{2}}}]] –
 
[[{{{1}}} ({{{2}}})|{{{2}}}]] –
'</noinclude><includeonly>[[{{{1}}}/{{{2}}}|{{{2}}}]]&nbsp;&ndash;</includeonly>
+
'</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>

Revision as of 19:48, 21 August 2014

'A helper template for use with Template:i18n.

[[{{{1}}} ({{{2}}})|{{{2}}}]] – '