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)
this should add the border
Shane (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{#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}}}|{{country alias {{{1}}}|{{void}}}}|Wikipedia:{{country label alias}}}}|{{#if:{{{name|}}}|{{{name}}}|<!--ELSE: -->{{#ifexist:Template:country label alias {{{1}}}|<!-- THEN: -->{{country label alias {{{1}}}}}|<!-- ELSE: -->{{country label alias}}}}}}]]}}<noinclude>
{{#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}}}|{{country alias {{{1}}}|{{void}}}}|Wikipedia:{{country label alias}}}}|{{#if:{{{name|}}}|{{{name}}}|<!--ELSE: -->{{#ifexist:Template:country label alias {{{1}}}|<!-- THEN: -->{{country label alias {{{1}}}}}|<!-- ELSE: -->{{country label alias}}}}}}]]}}<noinclude>
{| class="messagebox" style="text-align: center"
{| class="messagebox" style="text-align: center"
|+ Flag Table
|+ Flag Table
Line 6: Line 6:
| AU || {{Country flag|AU}}|| {{tlp|{{PAGENAME}}|AU}}
| AU || {{Country flag|AU}}|| {{tlp|{{PAGENAME}}|AU}}
|-
|-
| BE || {{Country flag|BE|border=1}} || {{tlp|{{PAGENAME}}|BE}}
| BE || {{Country flag|BE|border=Y}} || {{tlp|{{PAGENAME}}|BE}}
|-
|-
| CA || {{Country flag|CA}} || {{tlp|{{PAGENAME}}|CA}}
| CA || {{Country flag|CA}} || {{tlp|{{PAGENAME}}|CA}}
Line 12: Line 12:
| DE || {{Country flag|DE}} || {{tlp|{{PAGENAME}}|DE}}
| DE || {{Country flag|DE}} || {{tlp|{{PAGENAME}}|DE}}
|-
|-
| EE || {{Country flag|EE|border=1}} || {{tlp|{{PAGENAME}}|EE}}
| EE || {{Country flag|EE|border=Y}} || {{tlp|{{PAGENAME}}|EE}}
|-
|-
| ES || {{Country flag|ES}} || {{tlp|{{PAGENAME}}|ES}}
| ES || {{Country flag|ES}} || {{tlp|{{PAGENAME}}|ES}}

Revision as of 14:42, 23 May 2007

Earth Earth

Flag Table
Code Outputs Example Code
AU AUS AUS {{Country flag|AU}}
BE BEL BEL {{Country flag|BE}}
CA CAN CAN {{Country flag|CA}}
DE DE DE {{Country flag|DE}}
EE EST EST {{Country flag|EE}}
ES ES ES {{Country flag|ES}}
FI FIN FIN {{Country flag|FI}}
FR FR FR {{Country flag|FR}}
IT IT IT {{Country flag|IT}}
MY MY MY {{Country flag|MY}}
NL NL NL {{Country flag|NL}}
NO NOR NOR {{Country flag|NO}}
NZ NZ NZ {{Country flag|NZ}}
PH PH PH {{Country flag|PH}}
PL PL PL {{Country flag|PL}}
SE SWE SWE {{Country flag|SE}}
TR TR TR {{Country flag|TR}}
UK UK UK {{Country flag|UK}}
US USA USA {{Country flag|US}}
USUK[1] US/UK US/UK {{Country flag|USUK}}
ZH ZH ZH {{Country flag|ZH}}

Information

  1. To be used only for showing the English Language.