Difference between revisions of "Template:Lang"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>MSGJ
(simplify even more)
imported>Rich Farmbrough
(revert simplification - se etalk page for the reson for some of these exceptions)
Line 1: Line 1:
 
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span>{{#if:{{NAMESPACE}}|
 
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span>{{#if:{{NAMESPACE}}|
  |[[Category:Articles containing {{#iferror:{{ISO 639 name|{{{1|}}}}}|non-English}} language text]]
+
  |[[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
 +
  |la      = Latin
 +
  |cy      = Welsh
 +
  |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>
 
}}<noinclude>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}

Revision as of 23:25, 2 May 2009

{{{2}}}

Template documentation[create]