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)
moving to own namespace to test
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}}}}]]}}</includeonly><noinclude>
| <!-- THEN: --> {{void}}
| <!-- ELSE: --> &nbsp;
  {{#ifexist:Template:country alias {{{1}}}
  | <!-- THEN: --> [[{{country alias {{{1}}}}}|{{country label alias {{{1}}}]]
  | <!-- ELSE: --> {{void}}
  }}
}}</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:36, 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}} {{Country flag|AU}}
BE BEL|Earth}} {{Country flag|BE}}
CA CAN|Earth}} {{Country flag|CA}}
DE DE|Earth}} {{Country flag|DE}}
EE EST|Earth}} {{Country flag|EE}}
ES ES|Earth}} {{Country flag|ES}}
FI FIN|Earth}} {{Country flag|FI}}
FR FR|Earth}} {{Country flag|FR}}
IT IT|Earth}} {{Country flag|IT}}
MY MY|Earth}} {{Country flag|MY}}
NL NL|Earth}} {{Country flag|NL}}
NO NOR|Earth}} {{Country flag|NO}}
NZ NZ|Earth}} {{Country flag|NZ}}
PH PH|Earth}} {{Country flag|PH}}
PL PL|Earth}} {{Country flag|PL}}
SE SWE|Earth}} {{Country flag|SE}}
TR TR|Earth}} {{Country flag|TR}}
UK UK|Earth}} {{Country flag|UK}}
US USA|Earth}} {{Country flag|US}}
USUK[2] US/UK|Earth}} {{Country flag|USUK}}
ZH ZH|Earth}} {{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.