Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Editing Template:Country flag

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
<includeonly><span class="flag">{{#if:{{{border|}}}|<!-- THEN: -->{{border|[[File:{{#ifexist:Template:country flag alias {{{1}}}|<!-- THEN: -->{{country flag alias {{{1}}}}}|<!-- ELSE: -->{{country flag alias}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{#ifexist:Template:country label alias {{{1}}}|<!-- THEN: -->{{country label alias {{{1}}}}}|<!-- ELSE: -->{{country label alias}}}}]]}}|<!-- THEN: -->[[File:{{#ifexist:Template:country flag alias {{{1}}}|<!-- THEN: -->{{country flag alias {{{1}}}}}|<!-- ELSE: -->{{country flag alias}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{#ifexist:Template:country label alias {{{1}}}|<!-- THEN: -->{{country label alias {{{1}}}}}|<!-- ELSE: -->{{country label alias}}}}]]}}{{#ifeq:{{{notext|}}}|Y|<!-- THEN: -->|<!-- ELSE: -->&nbsp;{{#ifexist:Template:country alias {{{1}}}| <!-- THEN: -->[[{{country alias {{{1|}}}}}|{{country label alias {{{1}}}}}]]|<!-- ELSE: -->}}}}</span></includeonly><noinclude>
<noinclude>;No Country</noinclude>[[Image:{{#ifexist:Template:country flag alias {{{1}}}|<!-- THEN: -->{{country flag alias {{{1}}}}}|<!-- ELSE: -->{{country flag alias}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{#ifexist:Template:country label alias {{{1}}}|<!-- THEN: -->{{country label alias {{{1}}}}}|<!-- ELSE: -->{{country label alias}}}}]]{{#ifeq:{{{notext|}}}|Y|{{void}}|&nbsp;[[{{#ifexist:Template:country alias {{{1}}}|{{country alias {{{1}}}}}|Wikipedia:{{country label alias}}}}|{{#if:{{{name|}}}|{{{name}}}|<!--ELSE: -->{{#ifexist:Template:country label alias {{{1}}}|<!-- THEN: -->{{country label alias {{{1}}}}}|<!-- ELSE: -->{{country label alias}}}}}}]]}}<noinclude>
== Notice ==
;Vaild Flags
The better way to use this template is {{tl|flag}}. This is the template that creates all the options and keeps track of the different flags.
{{Country flag|US}}<br/>
 
{{Country flag|UK}}<br/>
 
{{Country flag|USUK}} (For showing English language)<br/>
{| class="messagebox" style="text-align: center"
{{Country flag|AU}}<br/>
|+ Flag Table
{{Country flag|CA}}<br/>
! Code !! Outputs !! Example Code
{{Country flag|NZ}}<br/>
|-
{{Country flag|DE}}<br/>
| || {{Country flag}}<ref>If no code is entered, you get the Earth Flag.</ref> || {{tlp|{{PAGENAME}}}}
{{Country flag|IT}}<br/>
|-
{{Country flag|NO}}<br/>
| AU || {{Country flag|AU}}|| {{tlp|{{PAGENAME}}|AU}}
{{Country flag|PH}}<br/>
|-
{{Country flag|SE}}<br/>
| BE || {{Country flag|BE|border=Y}} || {{tlp|{{PAGENAME}}|BE}}
{{Country flag|PL}}<br/>
|-
{{Country flag|ES}}<br/>
| CA || {{Country flag|CA}} || {{tlp|{{PAGENAME}}|CA}}
{{Country flag|ZH}}<br/>
|-
{{Country flag|FR}}<br/>
| DE || {{Country flag|DE|border=Y}} || {{tlp|{{PAGENAME}}|DE}}
{{Country flag|TR}}<br/>
|-
{{Country flag|NL}}<br/>
| EE || {{Country flag|EE|border=Y}} || {{tlp|{{PAGENAME}}|EE}}
{{Country flag|EE}}<br/>
|-
{{Country flag|IL}}<br/>
| ES || {{Country flag|ES}} || {{tlp|{{PAGENAME}}|ES}}
{{Country flag|FI}}<br/>
|-
{{Country flag|DK}}<br/>
| FI || {{Country flag|FI}} || {{tlp|{{PAGENAME}}|FI}}
[[Category:Flag templates|*]]
|-
| FR || {{Country flag|FR}} || {{tlp|{{PAGENAME}}|FR}}
|-
| IL || {{Country flag|IL}} || {{tlp|{{PAGENAME}}|IL}}
|-
| IRL || {{Country flag|IRL}} || {{tlp|{{PAGENAME}}|IRL}}
|-
| IT || {{Country flag|IT}} || {{tlp|{{PAGENAME}}|IT}}
|-
| JP || {{Country flag|JP}} || {{tlp|{{PAGENAME}}|JP}}
|-
| MY || {{Country flag|MY}} || {{tlp|{{PAGENAME}}|MY}}
|-
| NL || {{Country flag|NL}} || {{tlp|{{PAGENAME}}|NL}}
|-
| NO || {{Country flag|NO}} || {{tlp|{{PAGENAME}}|NO}}
|-
| NZ || {{Country flag|NZ}} || {{tlp|{{PAGENAME}}|NZ}}
|-
| PH || {{Country flag|PH}} || {{tlp|{{PAGENAME}}|PH}}
|-
| PL || {{Country flag|PL}} || {{tlp|{{PAGENAME}}|PL}}
|-
| SA || {{Country flag|SA}} || {{tlp|{{PAGENAME}}|SA}}
|-
| SE || {{Country flag|SE}} || {{tlp|{{PAGENAME}}|SE}}
|-
| SW || {{Country flag|SW}} || {{tlp|{{PAGENAME}}|SW}}
|-
| TR || {{Country flag|TR}} || {{tlp|{{PAGENAME}}|TR}}
|-
| UK || {{Country flag|UK}} || {{tlp|{{PAGENAME}}|UK}}
|-
| UN || {{Country flag|UN}} || {{tlp|{{PAGENAME}}|UN}}
|-
| US || {{Country flag|US}} || {{tlp|{{PAGENAME}}|US}}
|-
| USUK<ref>To be used '''only''' for showing the English Language.</ref> || {{Country flag|USUK}} || {{tlp|{{PAGENAME}}|USUK}}
|-
| ZH || {{Country flag|ZH}} || {{tlp|{{PAGENAME}}|ZH}}
|}
 
== Information ==
<div style="font-size:85%"><references/></div>
[[Category:Flag templates| ]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]


To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s>


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).

Templates used on this page: