Difference between revisions of "Template:Lang"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
m (6 revisions from commons:Template:Lang)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span lang="{{{1}}}" xml:lang="{{{1}}}" class="description {{{1}}}">{{{2}}}</span>
+
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span>{{#if:{{NAMESPACE}}
 +
| <!--Not article space, do nothing-->
 +
| <!--Article space-->
 +
  [[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 subpage, not here! -->
 +
</noinclude>

Latest revision as of 20:59, 20 September 2010

{{{2}}}