Template:Lang: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Adding whitespace stripping around parameter 2, by using "{{#if:x| }}", since we need it in some cases.
Ookami (talk | contribs)
m 91 revisions imported
 
(36 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{#if:x| {{{2}}} }}</span>{{#if:{{NAMESPACE}}
<includeonly>{{#invoke:lang|{{{fn|lang}}}}}</includeonly><noinclude>
| <!--Not article space, do nothing-->
{{Documentation}}
| <!--Article space-->
  [[Category:Articles containing {{#switch:{{{1|}}}
  |ar      = Arabic
  |es      = Spanish
  |de      = German
  |fr      = French
  |ja      = Japanese
  |zh      = 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]]
}}<noinclude>
 
{{pp-template}}
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 00:22, 2 September 2020