Difference between revisions of "Template:Lang"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>RockMFR
(+cy per talk page request)
imported>MSGJ
(only categories articles, and tidy code)
Line 1: Line 1:
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span><includeonly>{{#switch:{{{1|}}}
+
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span>{{#if:{{NAMESPACE}}|
|ar=[[Category:Articles containing Arabic language text]]
+
|[[Category:Articles containing {{#switch:{{{1|}}}
|es=[[Category:Articles containing Spanish language text]]
+
  |ar       = Arabic
|de=[[Category:Articles containing German language text]]
+
  |es       = Spanish
|fr=[[Category:Articles containing French language text]]
+
  |de       = German
|ja=[[Category:Articles containing Japanese language text]]
+
  |fr       = French
|zh=[[Category:Articles containing Chinese language text]]
+
  |ja       = Japanese
|bg=[[Category:Articles containing Bulgarian language text]]
+
  |zh       = Chinese
|cs=[[Category:Articles containing Czech language text]]
+
  |bg       = Bulgarian
|da=[[Category:Articles containing Danish language text]]
+
  |cs       = Czech
|nl=[[Category:Articles containing Dutch language text]]
+
  |da       = Danish
|et=[[Category:Articles containing Estonian language text]]
+
  |nl       = Dutch
|fi=[[Category:Articles containing Finnish language text]]
+
  |et       = Estonian
|el=[[Category:Articles containing Greek language text]]
+
  |fi       = Finnish
|hu=[[Category:Articles containing Hungarian language text]]
+
  |el       = Greek
|ga=[[Category:Articles containing Irish language text]]
+
  |hu       = Hungarian
|grc=[[Category:Articles containing non-English language text]]
+
  |ga       = Irish
|la=[[Category:Articles containing Latin language text]]
+
  |grc     = non-English
|cy=[[Category:Articles containing Welsh language text]]
+
  |la       = Latin
|{{#ifexist:Category:Articles containing {{ISO 639 name {{{1|}}}}} language text
+
  |cy       = Welsh
|[[Category:Articles containing {{ISO 639 name {{{1|}}}}} language text]]
+
  |#default = {{#ifexist:Category:Articles containing {{ISO 639 name {{{1|}}}}} language text
|[[Category:Articles containing non-English language text]]
+
  |{{ISO 639 name {{{1|}}}}}
}}}}</includeonly><noinclude>
+
  |non-English
 +
  }}
 +
}} language text]]
 +
}}<noinclude>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
{{documentation}}
 
{{documentation}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 14:40, 26 April 2009

{{{2}}}

Template documentation[create]