Difference between revisions of "Template:Lang"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Thumperward
(add an rtl option, for use with template:lang-he and template:lang-yi amongst others)
m (1 revision imported)
 
(24 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<span lang="{{{1}}}" xml:lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}}>{{{2}}}</span>{{#if:{{NAMESPACE}}
+
<includeonly>{{#invoke:lang|lang}}</includeonly><noinclude>
| <!--Not article space, do nothing-->
+
{{Documentation}}
| <!--Article space-->
+
</noinclude>
  [[Category:Articles containing {{#switch:{{{1|}}}
 
  |ar      = Arabic
 
  |es      = Spanish
 
  |de      = German
 
  |fr      = French
 
  |ja      = Japanese
 
  |zh      = Chinese
 
  |bg      = Bulgarian
 
  |cs      = Czech
 
  |da      = Danish
 
  |nl      = Dutch
 
  |et      = Estonian
 
  |fi      = Finnish
 
  |el      = Greek
 
  |hu      = Hungarian
 
  |ga      = Irish
 
  |grc      = Ancient Greek
 
  |la|lat  = Latin
 
  |cy      = Welsh
 
  |sl      = Slovene
 
  |slv      = Slovene
 
  |en|eng  = explicitly cited English
 
  |#default = {{#ifexist:Category:Articles containing {{ISO 639 name {{{1|}}}}} language text
 
    |{{ISO 639 name {{{1|}}}}}
 
    |non-English
 
    }}
 
  }} language text]]
 
}}<noinclude>{{documentation}}<!-- Add cats and interwikis to the /doc sub-page --></noinclude>
 

Latest revision as of 19:57, 8 March 2020

Template documentation[create]