Difference between revisions of "Template:Lang"
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|}}} |
− | + | |en|eng = explicitly cited English | |
− | + | |#default = {{#ifexist:Category:Articles containing {{ISO 639 name|{{{1|}}}}}-language text | |
− | + | |{{ISO 639 name|{{{1|}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |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}}<!-- | + | }}<noinclude> |
+ | {{documentation}} | ||
+ | <!-- Categories go on the /doc sub-page and interwikis go on Wikidata. --> | ||
+ | </noinclude> |