Template:Flagicon: Difference between revisions

Jump to navigation Jump to search
imported>Ligulem
m (Protected Template:Flagicon: High use template [edit=sysop:move=sysop])
imported>Wbm1058
(remove unnecessary specification)
 
(27 intermediate revisions by 14 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
 
      --></noinclude>{{safesubst<noinclude />:#ifexist: Template: Country data {{{1|}}}<noinclude><!--
Produces an image of a country flag.
        --></noinclude>|<noinclude><!--
Example:
              # It exists, so proceed
'''<nowiki>{{Flagicon|NLD}}</nowiki>''' produces {{flagicon|NLD}}.
          --></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
 
        --></noinclude>|<noinclude><!--
[[Category:Flag templates]]
              # It doesn't exist, so do nothing
 
      --></noinclude>}}<noinclude><!--
[[ca:Plantilla:Bandera]]
  --></noinclude>|<noinclude><!--
[[cs:Template:Flagicon]]
          # DEFAULT call  Template: Country data {{{1|}}}
[[cy:Nodyn:Eicon baner]]
          # with no prior checks
[[es:Plantilla:Flagicon]]
    --></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
[[fr:Modèle:Flagicon]]
          # Track use where "Template:Country data Foo" does not exist
[[ko:틀:국기나라]]
    --></noinclude>{{safesubst<noinclude />:#ifexist: Template:Country data {{{1|}}}||{{safesubst<noinclude />:namespace detect showall
[[hu:Sablon:Zászló]]
| 1 =
[[ja:Template:Flagicon]]
| 2 = [[Category:Flagicons with missing country data templates]]
[[ro:Format:Flagicon]]
| user  = 1
[[tr:Şablon:Bayrakikonu]]
| 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