Template:Lang: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Wbm1058
make a red-linked category identifying the name of the unknown/missing ISO 639 language template, to make these easier to track down and fix. the category should automatically go away when the template with the same name is created.
Ookami (talk | contribs)
m 91 revisions imported
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}} {{#if:{{{size|}}}|style="font-size:{{{size}}};"}}>{{{2}}}</span>{{#if:{{{rtl|}}}|&lrm;}}{{#ifexist:Template:ISO 639 name {{{1|}}}|{{Category handler
<includeonly>{{#invoke:lang|{{{fn|lang}}}}}</includeonly><noinclude>
|main = [[Category:Articles containing {{#switch:{{{1|}}}
  |en|eng  = explicitly cited English
  |#default = {{#ifexist:Category:Articles containing {{ISO 639 name|{{#if:{{{1|}}}|{{{1}}}|non-English}}}}-language text
  |{{ISO 639 name|{{{1|}}}}}
  |non-English
  }}
}}-language text]]
| nocat = {{{nocat|}}}
}}|{{main other|[[Category:Articles containing unknown ISO 639 language template|{{{1}}}]] [[Category:ISO 639 name {{{1|}}}]]}}}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 00:22, 2 September 2020