Template:Flagicon: Difference between revisions

Jump to navigation Jump to search
(+ca)
imported>Wbm1058
(remove unnecessary specification)
 
(39 intermediate revisions by 22 users not shown)
Line 1: Line 1:
{{#if: {{{1|<noinclude>-</noinclude>}}} |
<includeonly>{{safesubst<noinclude />:#ifeq: {{Yesno-no|{{{noredlink|}}}}}|yes<noinclude><!--
{{country_flagicon|{{{1}}}|{{{1}}}|size={{{size|}}}}}
  --></noinclude>|<noinclude><!--
}}<noinclude>
          #Check for existence of Template: Country data foo before invoking it
[[ca:Plantilla:Bandera]]
      --></noinclude>{{safesubst<noinclude />:#ifexist: Template: Country data {{{1|}}}<noinclude><!--
[[cs:Template:Flagicon]]
        --></noinclude>|<noinclude><!--
[[es:Plantilla:Flagicon]]
              # It exists, so proceed
[[hu:Sablon:Zászló]]
          --></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
[[ro:Format:Flagicon]]
        --></noinclude>|<noinclude><!--
[[tr:Şablon:Bayrakikonu]]
              # It doesn't exist, so do nothing
[[fr:Modèle:Flagicon]]
      --></noinclude>}}<noinclude><!--
  --></noinclude>|<noinclude><!--
          # DEFAULT call  Template: Country data {{{1|}}}
          # with no prior checks
    --></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
          # Track use where "Template:Country data Foo" does not exist
    --></noinclude>{{safesubst<noinclude />:#ifexist: Template:Country data {{{1|}}}||{{safesubst<noinclude />:namespace detect showall
| 1 =
| 2 = [[Category:Flagicons with missing country data templates]]
| user  = 1
| talk  = 1
| other = 2
}}}}<noinclude><!--
--></noinclude>}}</includeonly>{{safesubst<noinclude />:#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using flagicon template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Flagicon]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}<noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 23:46, 6 April 2021