Difference between revisions of "Template:Lang"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Good Olfactory
(per CFDs to add hyphen)
imported>Mr. Stradivarius
(remove unnecessary #switch per protected edit request)
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|}}}
+
|main = [[Category:Articles containing {{#switch:{{{1|}}}
  |ar      = Arabic
+
   |en|eng  = explicitly cited English
  |es      = Spanish
+
   |#default = {{#ifexist:Category:Articles containing {{ISO 639 name|{{{1|}}}}}-language text
  |de      = German
+
     |{{ISO 639 name|{{{1|}}}}}
  |fr      = French
 
  |ja      = Japanese
 
  |zh      = Chinese
 
  |zh-cn|zh-Hans  = 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
 
     |non-English
 
     }}
 
     }}
 
   }}-language text]]
 
   }}-language text]]
| nocat = {{{nocat|}}}
+
|nocat = {{{nocat|}}}
}}<noinclude>{{documentation}}<!-- Add cats and interwikis to the /doc sub-page --></noinclude>
+
}}<noinclude>
 +
{{documentation}}
 +
<!-- Categories go on the /doc sub-page and interwikis go on Wikidata. -->
 +
</noinclude>

Revision as of 14:37, 10 September 2013

{{{2}}}

Template documentation[create]