Difference between revisions of "Template:Lang"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(Undid revision 369641444 by Rich Farmbrough (talk))
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>
 +
[[Category:2Fix]]

Revision as of 00:53, 23 June 2010

{{{2}}}