Difference between revisions of "Template:Lang"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(Add zh-cn per protected edit request)
imported>Thumperward
(strip whitespace in an attempt to fix some parser gunk with piped links in the mainspace)
Line 1: Line 1:
−
<span lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}}>{{{2}}}</span>{{category handler
+
<span lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}}>{{{2}}}</span>{{category handler| main=[[Category:Articles containing {{#switch:{{{1|}}}|ar=Arabic|es=Spanish|de=German|fr=French|ja=Japanese|zh=Chinese|zh-cn=simplified 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]]| nocat={{{nocat|}}}}}<noinclude>
−
| main =[[Category:Articles containing {{#switch:{{{1|}}}
+
{{documentation}}<!-- Add cats and interwikis to the /doc sub-page --></noinclude>
−
  |ar       = Arabic
 
−
  |es       = Spanish
 
−
  |de       = German
 
−
  |fr       = French
 
−
  |ja       = Japanese
 
−
  |zh       = Chinese
 
−
  |zh-cn   = simplified 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]]
 
−
| nocat = {{{nocat|}}}
 
−
}}<noinclude>{{documentation}}<!-- Add cats and interwikis to the /doc sub-page --></noinclude>
 

Revision as of 15:22, 18 March 2013

{{{2}}}

Template documentation[create]