Template:Flagicon: Difference between revisions

Jump to navigation Jump to search
old>Fakolana
m (1 revision imported: Attempt to fix the infobox country docs page.)
 
(use {{namespace detect showall}} to stop userpages and talk pages being categorised in Category:Flagicons with missing country data templates)
Line 1: Line 1:
{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude>{{documentation}}</noinclude>
<includeonly>{{#ifeq: {{Yesno-no|{{{noredlink|}}}}}|yes<!--
  -->|<!--
          #Check for existence of Template: Country data foo before invoking it
      -->{{#ifexist: Template: Country data {{{1|}}}<!--
        -->|<!--
              # It exists, so proceed
          -->{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<!--
        -->|<!--
              # It doesn't exist, so do nothing
      -->}}<!--
  -->|<!--
          # DEFAULT call  Template: Country data {{{1|}}}
          # with no prior checks
    -->{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<!--
          # Track use where "Template:Country data Foo" does not exist
    -->{{#ifexist: Template:Country data {{{1|}}}||{{namespace detect showall
| 1 =
| 2 = [[Category:Flagicons with missing country data templates]]
| user  = 1
| talk  = 1
| other = 2
}}}}<!--
-->}}</includeonly><noinclude>
{{DEFAULTSORT:Law by year}}
{{Documentation}}
</noinclude>

Revision as of 10:19, 16 December 2018