Template:Flagicon: Difference between revisions

Jump to navigation Jump to search
m
1 revision imported
en>Centrx
m (1 revision imported)
 
(25 intermediate revisions by 15 users not shown)
Line 1:
<includeonly>{{safesubst<noinclude />:#ifeq: {{Yesno-no|{{{noredlink|}}}}}|yes<noinclude><!--
{{#if: {{{1|<noinclude>-</noinclude>}}} |
--></noinclude>|<noinclude><!--
{{country_flagicon|{{{1}}}|{{{1}}}|size={{{size|}}}}}
#Check for existence of Template: Country data foo before invoking it
}}<noinclude>
--></noinclude>{{safesubst<noinclude />:#ifexist: Template: Country data {{{1|}}}<noinclude><!--
{{protected template}}
--></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|NLD}}</nowiki>''' produces {{flagicon|NLD}}.
--></noinclude>|<noinclude><!--
 
# It doesn't exist, so do nothing
'''This template is designed 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).
--></noinclude>}}<noinclude><!--
 
--></noinclude>|<noinclude><!--
[[Category:Flag templates]]
# DEFAULT call Template: Country data {{{1|}}}
 
# with no prior checks
[[ca:Plantilla:Bandera]]
--></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
[[cs:Template:Flagicon]]
# Track use where "Template:Country data Foo" does not exist
[[cy:Nodyn:Eicon baner]]
--></noinclude>{{safesubst<noinclude />:#ifexist: Template:Country data {{{1|}}}||{{safesubst<noinclude />:namespace detect showall
[[es:Plantilla:Flagicon]]
| 1 =
[[fr:Modèle:Flagicon]]
| 2 = [[Category:Flagicons with missing country data templates]]
[[ko:틀:국기나라]]
| user = 1
[[hu:Sablon:Zászló]]
| talk = 1
[[ja:Template:Flagicon]]
| other = 2
[[ro:Format:Flagicon]]
}}}}<noinclude><!--
[[tr:Şablon:Bayrakikonu]]
--></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>
verified
5,323

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu