Template:Flagicon: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Stratadrake
+documentation and category
Ookami (talk | contribs)
m 52 revisions imported
 
(30 intermediate revisions by 16 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><!--
}}
          #Check for existence of Template: Country data foo before invoking it
<noinclude>
      --></noinclude>{{safesubst<noinclude />:#ifexist: Template: Country data {{{1|}}}<noinclude><!--
 
        --></noinclude>|<noinclude><!--
Produces an image of a country flag.
              # It exists, so proceed
Example:
          --></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
'''<nowiki>{{Flagicon|USA}}</nowiki>''' produces {{flagicon|USA}}.
        --></noinclude>|<noinclude><!--
 
              # It doesn't exist, so do nothing
[[Category:Flag templates]]
      --></noinclude>}}<noinclude><!--
 
  --></noinclude>|<noinclude><!--
[[ca:Plantilla:Bandera]]
          # DEFAULT call  Template: Country data {{{1|}}}
[[cs:Template:Flagicon]]
          # with no prior checks
[[cy:Nodyn:Eicon baner]]
    --></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
[[es:Plantilla:Flagicon]]
          # Track use where "Template:Country data Foo" does not exist
[[fr:Modèle:Flagicon]]
    --></noinclude>{{safesubst<noinclude />:#ifexist: Template:Country data {{{1|}}}||{{safesubst<noinclude />:namespace detect showall
[[ko:틀:국기나라]]
| 1 =
[[hu:Sablon:Zászló]]
| 2 = [[Category:Flagicons with missing country data templates]]
[[ja:Template:Flagicon]]
| user  = 1
[[ro:Format:Flagicon]]
| talk  = 1
[[tr:Şablon:Bayrakikonu]]
| 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>
{{DEFAULTSORT:Flagicon}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 01:09, 3 September 2020