Difference between revisions of "Template:Lang"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(remove unnecessary #switch per protected edit request)
imported>MSGJ
(add font size parameter, per request)
Line 1: Line 1:
<span lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}}>{{{2}}}</span>{{category handler
+
<span lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}} {{#if:{{{size|}}}|style="font-size:{{{size}}};"}}>{{{2}}}</span>{{Category handler
|main = [[Category:Articles containing {{#switch:{{{1|}}}
+
|main = [[Category:Articles containing {{#switch:{{{1|}}}
 
   |en|eng  = explicitly cited English
 
   |en|eng  = explicitly cited English
 
   |#default = {{#ifexist:Category:Articles containing {{ISO 639 name|{{{1|}}}}}-language text
 
   |#default = {{#ifexist:Category:Articles containing {{ISO 639 name|{{{1|}}}}}-language text
    |{{ISO 639 name|{{{1|}}}}}
+
  |{{ISO 639 name|{{{1|}}}}}
    |non-English
+
  |non-English
    }}
+
  }}
  }}-language text]]
+
}}-language text]]
|nocat = {{{nocat|}}}
+
| nocat = {{{nocat|}}}
 
}}<noinclude>
 
}}<noinclude>
{{documentation}}
+
{{Documentation}}
<!-- Categories go on the /doc sub-page and interwikis go on Wikidata. -->
 
 
</noinclude>
 
</noinclude>

Revision as of 09:14, 19 September 2014

{{{2}}}

Template documentation[create]