Template:Flagicon: Difference between revisions

Jump to navigation Jump to search
imported>Centrx
mNo edit summary
imported>Wbm1058
(remove unnecessary specification)
 
(24 intermediate revisions by 13 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
{{protected template}}
      --></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><!--
'''This template is for use in stub templates and in infoboxes in which there is not enough space to write the name of the country''' (such as Olympics tables).
              # It doesn't exist, so do nothing
 
      --></noinclude>}}<noinclude><!--
[[Category:Flag templates]]
  --></noinclude>|<noinclude><!--
 
          # DEFAULT call  Template: Country data {{{1|}}}
[[ca:Plantilla:Bandera]]
          # with no prior checks
[[cs:Template:Flagicon]]
    --></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
[[cy:Nodyn:Eicon baner]]
          # Track use where "Template:Country data Foo" does not exist
[[es:Plantilla:Flagicon]]
    --></noinclude>{{safesubst<noinclude />:#ifexist: Template:Country data {{{1|}}}||{{safesubst<noinclude />:namespace detect showall
[[fr:Modèle:Flagicon]]
| 1 =
[[ko:틀:국기나라]]
| 2 = [[Category:Flagicons with missing country data templates]]
[[hu:Sablon:Zászló]]
| user  = 1
[[ja:Template:Flagicon]]
| talk  = 1
[[ro:Format:Flagicon]]
| other = 2
[[tr:Şablon:Bayrakikonu]]
}}}}<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