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|{{void}}|&nbsp;[[{{#ifexist:Template:country alias {{{1}}}|{{#if:{{{1|}}}|{{country 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}}}}]]}}{{#ifeq:{{{notext|}}}|Y|{{void}}|&nbsp;[[{{#ifexist:Template:country alias {{{1}}}|{{#if:{{{1|}}}|{{country 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>
== 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:18, 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 [[|Wikipedia:Earth}}|Earth]][1] {{Country flag}}
AU AUS Wikipedia:Earth}}|AUS {{Country flag|AU}}
BE BEL Wikipedia:Earth}}|BEL {{Country flag|BE}}
CA CAN Wikipedia:Earth}}|CAN {{Country flag|CA}}
DE DE Wikipedia:Earth}}|DE {{Country flag|DE}}
EE EST Wikipedia:Earth}}|EST {{Country flag|EE}}
ES ES Wikipedia:Earth}}|ES {{Country flag|ES}}
FI FIN Wikipedia:Earth}}|FIN {{Country flag|FI}}
FR FR Wikipedia:Earth}}|FR {{Country flag|FR}}
IT IT Wikipedia:Earth}}|IT {{Country flag|IT}}
MY MY Wikipedia:Earth}}|MY {{Country flag|MY}}
NL NL Wikipedia:Earth}}|NL {{Country flag|NL}}
NO NOR Wikipedia:Earth}}|NOR {{Country flag|NO}}
NZ NZ Wikipedia:Earth}}|NZ {{Country flag|NZ}}
PH PH Wikipedia:Earth}}|PH {{Country flag|PH}}
PL PL Wikipedia:Earth}}|PL {{Country flag|PL}}
SE SWE Wikipedia:Earth}}|SWE {{Country flag|SE}}
TR TR Wikipedia:Earth}}|TR {{Country flag|TR}}
UK UK Wikipedia:Earth}}|UK {{Country flag|UK}}
US USA Wikipedia:Earth}}|USA {{Country flag|US}}
USUK[2] US/UK Wikipedia:Earth}}|US/UK {{Country flag|USUK}}
ZH ZH Wikipedia:Earth}}|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.