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)
removed this for now...
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|{{void}}|&nbsp;[[{{#ifexist:Template:country alias {{{1}}}|{{county alias {{{1}}}}}|{{void}}}}|{{void}}}}|Wikipedia:{{country label alias}}}}|{{#if:{{{name|}}}|{{{name}}}|<!--ELSE: -->{{#ifexist:Template:country label alias {{{1}}}|<!-- THEN: -->{{country label alias {{{1}}}}}|<!-- ELSE: -->{{country label alias}}}}}}]]}}</includeonly><noinclude>
<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}}}}]]}}</includeonly><noinclude>
== Notice ==
== Notice ==
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.
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.

Revision as of 16:21, 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[1] {{Country flag}}
AU AUS {{Country flag|AU}}
BE BEL {{Country flag|BE}}
CA CAN {{Country flag|CA}}
DE DE {{Country flag|DE}}
EE EST {{Country flag|EE}}
ES ES {{Country flag|ES}}
FI FIN {{Country flag|FI}}
FR FR {{Country flag|FR}}
IT IT {{Country flag|IT}}
MY MY {{Country flag|MY}}
NL NL {{Country flag|NL}}
NO NOR {{Country flag|NO}}
NZ NZ {{Country flag|NZ}}
PH PH {{Country flag|PH}}
PL PL {{Country flag|PL}}
SE SWE {{Country flag|SE}}
TR TR {{Country flag|TR}}
UK UK {{Country flag|UK}}
US USA {{Country flag|US}}
USUK[2] US/UK {{Country flag|USUK}}
ZH 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.