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

Template:Country flag: Difference between revisions

Template page
Shane (talk | contribs)
mNo edit summary
Shane (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{border|}}}|<!-- THEN: -->{{border|[[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}}}}]]}}|<!-- THEN: -->[[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
<includeonly>{{#if:{{{border|}}}|<!-- THEN: -->{{border|[[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}}}}]]}}|<!-- THEN: -->[[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
| <!-- THEN: --> {{void}}
| <!-- THEN: --> {{void}}
| <!-- ELSE: --> &nbsp;  
| <!-- ELSE: --> &nbsp;  

Revision as of 16:35, 23 May 2007

Notice

The better way to use this template is {{flag}}. This is the template that creates all the options and keeps track of the different flags.


Flag Table
Code Outputs Example Code
Earth|[[Image:Earth flag PD.jpg|22x20px| [1] {{Country flag}}
AU AUS|Earth}} 
 [[Wikipedia:Australia}|AUS]]|| {{Country flag|AU}}
BE BEL|Earth}} 
 [[Wikipedia:Belgium}|BEL]] || {{Country flag|BE}}
CA CAN|Earth}} 
 [[Wikipedia:Canada}|CAN]] || {{Country flag|CA}}
DE DE|Earth}} 
 [[Wikipedia:Germany}|DE]] || {{Country flag|DE}}
EE EST|Earth}} 
 [[Wikipedia:Estonia}|EST]] || {{Country flag|EE}}
ES ES|Earth}} 
 [[Wikipedia:Spain}|ES]] || {{Country flag|ES}}
FI FIN|Earth}} 
 [[Wikipedia:Finland}|FIN]] || {{Country flag|FI}}
FR FR|Earth}} 
 [[Wikipedia:France}|FR]] || {{Country flag|FR}}
IT IT|Earth}} 
 [[Wikipedia:Italy}|IT]] || {{Country flag|IT}}
MY MY|Earth}} 
 [[Wikipedia:Malaysia}|MY]] || {{Country flag|MY}}
NL NL|Earth}} 
 [[Wikipedia:Netherlands}|NL]] || {{Country flag|NL}}
NO NOR|Earth}} 
 [[Wikipedia:Norway}|NOR]] || {{Country flag|NO}}
NZ NZ|Earth}} 
 [[Wikipedia:New Zealand}|NZ]] || {{Country flag|NZ}}
PH PH|Earth}} 
 [[Wikipedia:Philippines}|PH]] || {{Country flag|PH}}
PL PL|Earth}} 
 [[Wikipedia:Poland}|PL]] || {{Country flag|PL}}
SE SWE|Earth}} 
 [[Wikipedia:Sweden}|SWE]] || {{Country flag|SE}}
TR TR|Earth}} 
 [[Wikipedia:Turkey}|TR]] || {{Country flag|TR}}
UK UK|Earth}} 
 [[Wikipedia:United Kingdom}|UK]] || {{Country flag|UK}}
US USA|Earth}} 
 [[Wikipedia:United States}|USA]] || {{Country flag|US}}
USUK[2] US/UK|Earth}} 
 [[Wikipedia:English language}|US/UK]] || {{Country flag|USUK}}
ZH ZH|Earth}} 
 [[Wikipedia:People's Republic of China}|ZH]] || {{Country flag|ZH}}

Information

  1. If no code is entered, you get the Earth Flag.
  2. To be used only for showing the English Language.