Difference between revisions of "Template:Country flag"

From Battlestar Wiki
Jump to navigation Jump to search
(Automated import from old BattlestarWiki)
 
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|<!-- THEN: -->|<!-- ELSE: -->&nbsp;{{#ifexist:Template:country alias {{{1}}}| <!-- THEN: -->[[{{country alias {{{1|}}}}}|{{country label alias {{{1}}}}}]]|<!-- ELSE: -->}}}}</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|<!-- THEN: -->|<!-- ELSE: -->&nbsp;{{#ifexist:Template:country alias {{{1}}}| <!-- THEN: -->[{{country alias {{{1|}}}}}|{{country label alias {{{1}}}}}]|<!-- ELSE: -->}}}}</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 21:49, 3 May 2017

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 {{country label alias {{{1}}}}}][1] {{Country flag}}
AU AUS [Wikipedia:Australia {{Country flag|AU}}
BE Template:Border [Wikipedia:Belgium {{Country flag|BE}}
CA CAN [Wikipedia:Canada {{Country flag|CA}}
DE Template:Border [Wikipedia:Germany {{Country flag|DE}}
EE Template:Border [Wikipedia:Estonia {{Country flag|EE}}
ES ES [Wikipedia:Spain {{Country flag|ES}}
FI FIN [Wikipedia:Finland {{Country flag|FI}}
FR FR [Wikipedia:France {{Country flag|FR}}
IL IL [Wikipedia:Israel {{Country flag|IL}}
IRL IRL [Wikipedia:Ireland {{Country flag|IRL}}
IT IT [Wikipedia:Italy {{Country flag|IT}}
JP JP [Wikipedia:Japan {{Country flag|JP}}
MY MY [Wikipedia:Malaysia {{Country flag|MY}}
NL NL [Wikipedia:Netherlands {{Country flag|NL}}
NO NO [Wikipedia:Norway {{Country flag|NO}}
NZ NZ [Wikipedia:New_Zealand {{Country flag|NZ}}
PH PH [Wikipedia:Philippines {{Country flag|PH}}
PL PL [Wikipedia:Poland {{Country flag|PL}}
SA SA [Wikipedia:South_Africa {{Country flag|SA}}
SE SWE [Wikipedia:Sweden {{Country flag|SE}}
SW SW [Wikipedia:Switzerland {{Country flag|SW}}
TR TR [Wikipedia:Turkey {{Country flag|TR}}
UK UK [Wikipedia:United_Kingdom {{Country flag|UK}}
UN UN [Wikipedia:United_Nations {{Country flag|UN}}
US USA [Wikipedia:United_States {{Country flag|US}}
USUK[2] US/UK US/UK] {{Country flag|USUK}}
ZH ZH [Wikipedia:People's_Republic_of_China {{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.

de:Vorlage:Landesflagge