Difference between revisions of "Template:Flag"

From comp.tf
Jump to navigation Jump to search
(Updated template to include new flag icons, merged with Template:Flag/Terms)
Line 1: Line 1:
{{#if:{{{1|}}}|{{#switch: {{padleft:|1|{{lc:{{{1|}}}}} }}
+
[[Image:{{Flag/Terms|{{{1|}}}}}.png|23x15px|border|{{Flag/Terms|{{{1|}}}}}|{{#ifeq:{{Flag/Terms|{{{1|}}}}}|Unknown|link=|{{#ifeq:{{Flag/Terms|{{{1|}}}}}|German Speaking|link=|{{#ifeq:{{Flag/Terms|{{{1|}}}}}|English Speaking|link=|link=:Category:{{Flag/Terms|{{{1|}}}}}}}}}}}]]{{#ifeq:{{Flag/Terms|{{{1|}}}}}|Unknown|[[Category:Unrecognised Flag]]|}}
|k={{#switch:{{lc:{{{1|}}} }}
 
  |kr
 
  |korea            = [[Image:Kr.png| South Korea|link=:Category:South Korea]]
 
  |kz
 
  |kazakhstan        = [[Image:Kz.png| Kazakhstan|link=:Category:Kazakhstan]]
 
  |kw
 
  |kuwait            = [[Image:Kw.png| Kuwait|link=:Category:Kuwait]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
 
 
  }}
 
|u={{#switch:{{lc:{{{1|}}} }}
 
  |us                = [[Image:Us.png| USA|link=:Category:United States]]
 
  |ua                = [[Image:Ua.png| Ukraine|link=:Category:Ukraine]]
 
      |united states
 
      |united states of america
 
  |usa              = [[Image:Us.png| USA|link=:Category:United States]]
 
  |ukraine          = [[Image:Ua.png| Ukraine|link=:Category:Ukraine]]
 
 
 
  |uk                = [[Image:Uk.png| United Kingdom|link=:Category:United Kingdom]]
 
  |un                = [[Image:Un.png| United Nations|link=:Category:United Nations]]
 
  |uken              = [[Image:En.gif| England|link=:Category:England]]
 
  |ukus              = [[Image:UkUs.png| English Speaking|link=]]
 
  |ukni              = [[Image:Ni.png| Northern Ireland|link=:Category:Northern Ireland]]
 
  |uksc              = [[Image:Sc.png| Scotland|link=:Category:Scotland]]
 
  |ukwa              = [[Image:Wa.png| Wales|link=:Category:Wales]]
 
  |uz                = [[Image:Uz.png| Uzbekistan|link=:Category:Uzbekistan]]
 
  |usuk              = [[Image:UsUk.png| EngSpeaking]]
 
  |uy                = [[Image:Uy.gif| Uruguay|link=:Category:Uruguay]]
 
      |unitedkingdom
 
  |united kingdom    = [[Image:Uk.png| United Kingdom|link=:Category:United Kingdom]]
 
  |united nations    = [[Image:Un.png| United Nations|link=:Category:United Nations]]
 
  |uzbekistan        = [[Image:Uz.png| Uzbekistan|link=:Category:Uzbekistan]]
 
  |uruguay          = [[Image:Uy.gif| Uruguay|link=:Category:Uruguay]]
 
  |uae                = [[Image:Ae.png| United Arab Emirates|link=:Category:United Arab Emirates]]
 
  |united arab emirates = [[Image:Ae.png| United Arab Emirates|link=:Category:United Arab Emirates]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|s={{#switch:{{lc:{{{1|}}} }}
 
  |se                = [[Image:Se.png| Sweden|link=:Category:Sweden]]
 
      |south korea
 
  |southkorea        = [[Image:Kr.png| South Korea|link=:Category:South Korea]]
 
  |sweden            = [[Image:Se.png| Sweden|link=:Category:Sweden]]
 
 
 
  |sc                = [[Image:Sc.png| Scotland|link=:Category:Scotland]]
 
  |sg                = [[Image:Sg.png| Singapore|link=:Category:Singapore]]
 
  |si                = [[Image:Si.png| Slovenia|link=:Category:Slovenia]]
 
  |sk                = [[Image:Sk.png| Slovak Republic|link=:Category:Slovak Republic]]
 
  |sv                = [[Image:Sv.png| El Salvador|link=:Category:El Salvador]]
 
  |so                = [[Image:So.png| Somalia|link=:Category:Somalia]]
 
  |scotland          = [[Image:Sc.png| Scotland|link=:Category:Scotland]]
 
  |serbia            = [[Image:Rs.png| Serbia|link=:Category:Serbia]]
 
      |saudiarabia
 
      |sa
 
  |saudi arabia      = [[Image:Sa.png| Saudi Arabia|link=:Category:Saudi Arabia]]
 
  |singapore        = [[Image:Sg.png| Singapore|link=:Category:Singapore]]
 
      |slovakia
 
  |slovakrepublic    = [[Image:Sk.png| Slovak Republic|link=:Category:Slovak Republic]]
 
  |slovenia          = [[Image:Si.png| Slovenia|link=:Category:Slovenia]]
 
      |southafrica
 
  |south africa      = [[Image:Za.png| South Africa|link=:Category:South Africa]]
 
  |spain            = [[Image:Es.png| Spain|link=:Category:Spain]]
 
  |switzerland      = [[Image:Ch.png| Switzerland|link=:Category:Switzerland]]
 
  |somalia          = [[Image:So.png| Somalia|link=:Category:Somalia]]
 
      |srilanka
 
  |sri lanka        = [[Image:Lk.png| Sri Lanka|link=:Category:Sri Lanka]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|c={{#switch:{{lc:{{{1|}}} }}
 
  |ca                = [[Image:Ca.png| Canada|link=:Category:Canada]]
 
  |cn                = [[Image:Cn.png| China|link=:Category:China]]
 
  |canada            = [[Image:Ca.png| Canada|link=:Category:Canada]]
 
  |china            = [[Image:Cn.png| China|link=:Category:China]]
 
  |ch                = [[Image:Ch.png| Switzerland|link=:Category:Switzerland]]
 
  |cl                = [[Image:Cl.png| Chile|link=:Category:Chile]]
 
  |co                = [[Image:Co.png| Colombia|link=:Category:Colombia]]
 
  |cr                = [[Image:Cr.png| Costa Rica|link=:Category:Costa Rica]]
 
  |cz                = [[Image:Cz.png| Czech Republic|link=:Category:Czech Republic]]
 
  |cy                = [[Image:Cy.gif| Cyprus|link=:Category:Cyprus]]
 
  |chile            = [[Image:Cl.png| Chile|link=:Category:Chile]]
 
  |colombia          = [[Image:Co.png| Colombia|link=:Category:Colombia]]
 
      |costarica
 
  |costa rica        = [[Image:Cr.png| Costa Rica|link=:Category:Costa Rica]]
 
  |croatia          = [[Image:Hr.png| Croatia|link=:Category:Croatia]]
 
      |czech
 
      |czechrepublic
 
  |czech republic    = [[Image:Cz.png| Czech Republic|link=:Category:Czech Republic]]
 
  |cyprus            = [[Image:Cy.gif| Cyprus|link=:Category:Cyprus]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|d={{#switch:{{lc:{{{1|}}} }}
 
  |de                = [[Image:De.png| Germany|link=:Category:Germany]]
 
  |dk                = [[Image:Dk.png| Denmark|link=:Category:Denmark]]
 
  |do                = [[Image:Do.png| Dominican Republic|link=:Category:Dominican Republic]]
 
  |deat              = [[Image:DeAt.png| GerSpeaking]]
 
  |denmark          = [[Image:Dk.png| Denmark|link=:Category:Denmark]]
 
  |dominican republic= [[Image:Do.png| Dominican Republic|link=:Category:Dominican Republic]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|f={{#switch:{{lc:{{{1|}}} }}
 
  |ff                = [[Image:placeholderflag.png]]
 
  |fi                = [[Image:Fi.png| Finland|link=:Category:Finland]]
 
  |fr                = [[Image:Fr.png| France|link=:Category:France]]
 
  |filler flag      = [[Image:placeholderflag.png]]
 
  |finland          = [[Image:Fi.png| Finland|link=:Category:Finland]]
 
  |fo                = [[Image:Fo.png| Faroe Islands|link=:Category:Faroe Islands]]
 
  |france            = [[Image:Fr.png| France|link=:Category:France]]
 
      |faroeislands
 
  |faroe islands    = [[Image:Fo.png| Faroe Islands|link=:Category:Faroe Islands]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|n={{#switch:{{lc:{{{1|}}} }}
 
  |nam              = [[Image:Nam.png| North America|link=:Category:North America]]
 
  |nl                = [[Image:Nl.png| Netherlands|link=:Category:Netherlands]]
 
  |no                = [[Image:No.png| Norway|link=:Category:Norway]]
 
  |ni                = [[Image:Ni.png| Northern Ireland|link=:Category:Northern Ireland]]
 
  |nz                = [[Image:Nz.png| New Zealand|link=:Category:New Zealand]]
 
  |na                = [[Image:Na.png| Namibia|link=:Category:Namibia]]
 
  |ng                = [[Image:Ng.png| Nigeria|link=:Category:Nigeria]]
 
  |netherlands      = [[Image:Nl.png| Netherlands|link=:Category:Netherlands]]
 
      |northamerica
 
      |northamerican
 
      |northenmarica
 
  |north america      = [[Image:Nam.png| North America|link=:Category:North America]]
 
  |norway            = [[Image:No.png| Norway|link=:Category:Norway]]
 
      |newzealand
 
  |new zealand      = [[Image:Nz.png| New Zealand|link=:Category:New Zealand]]
 
      |northerireland
 
      |northernireland
 
  |northern ireland  = [[Image:Ni.png| Northern Ireland|link=:Category:Northern Ireland]]
 
  |namibia          = [[Image:Na.png| Namibia|link=:Category:Namibia]]
 
  |nigeria                = [[Image:Ng.png| Nigeria|link=:Category:Nigeria]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|r={{#switch:{{lc:{{{1|}}} }}
 
  |ru                = [[Image:Ru.png| Russia|link=:Category:Russia]]
 
  |ro                = [[Image:Ro.png| Romania|link=:Category:Romania]]
 
  |rs                = [[Image:Rs.png| Serbia|link=:Category:Serbia]]
 
  |russia            = [[Image:Ru.png| Russia|link=:Category:Russia]]
 
  |romania          = [[Image:Ro.png| Romania|link=:Category:Romania]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|e={{#switch:{{lc:{{{1|}}} }}
 
  |eu                = [[Image:Eu.png| Europe|link=:Category:Europe]]
 
  |en                = [[Image:En.gif| England|link=:Category:England]]
 
  |es                = [[Image:Es.png| Spain|link=:Category:Spain]]
 
  |engspeaking      = [[Image:En lang.png| EngSpeaking]]
 
  |enlang            = [[Image:En lang.png| EngSpeaking]]
 
  |england          = [[Image:En.gif| England|link=:Category:England]]
 
  |europe            = [[Image:Eu.png| Europe|link=:Category:Europe]]
 
  |ec                = [[Image:Ec.png| Ecuador|link=:Category:Ecuador]]
 
  |ee                = [[Image:Ee.png| Estonia|link=:Category:Estonia]]
 
  |estonia          = [[Image:Ee.png| Estonia|link=:Category:Estonia]]
 
  |ecuador          = [[Image:Ec.png| Ecuador|link=:Category:Ecuador]]
 
  |eg                = [[Image:Eg.png| Egypt|link=:Category:Egypt]]
 
  |egypt            = [[Image:Eg.png| Egypt|link=:Category:Egypt]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|p={{#switch:{{lc:{{{1|}}} }}
 
  |pl                = [[Image:Pl.png| Poland|link=:Category:Poland]]
 
  |pa                = [[Image:Pa.png| Panama|link=:Category:Panama]]
 
  |pk                = [[Image:Pk.png| Pakistan|link=:Category:Pakistan]]
 
  |py                = [[Image:Py.png| Paraguay|link=:Category:Paraguay]]
 
  |pe                = [[Image:Pe.png| Peru|link=:Category:Peru]]
 
  |ph                = [[Image:Ph.png| Philippines|link=:Category:Philippines]]
 
  |pr                = [[Image:Pr.png| Puerto Rico|link=:Category:Puerto Rico]]
 
  |pt                = [[Image:Pt.png| Portugal|link=:Category:Portugal]]
 
  |pakistan          = [[Image:Pk.png| Pakistan|link=:Category:Pakistan]]
 
  |panama            = [[Image:Pa.png| Panama|link=:Category:Panama]]
 
  |paraguay          = [[Image:Py.png| Paraguay|link=:Category:Paraguay]]
 
  |peru              = [[Image:Pe.png| Peru|link=:Category:Peru]]
 
  |philippines      = [[Image:Ph.png| Philippines|link=:Category:Philippines]]
 
  |poland            = [[Image:Pl.png| Poland|link=:Category:Poland]]
 
  |portugal          = [[Image:Pt.png| Portugal|link=:Category:Portugal]]
 
      |puertorico
 
  |puerto rico      = [[Image:Pr.png| Puerto Rico|link=:Category:Puerto Rico]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|a={{#switch:{{lc:{{{1|}}} }}
 
  |au                = [[Image:Au.png| Australia|link=:Category:Australia]]
 
  |ae                = [[Image:Ae.png| United Arab Emirates|link=:Category:United Arab Emirates]]
 
  |ar                = [[Image:Ar.png| Argentina|link=:Category:Argentina]]
 
  |am                = [[Image:Am.png| Armenia|link=:Category:Armenia]]
 
  |at                = [[Image:At.png| Austria|link=:Category:Austria]]
 
  |az                = [[Image:Az.png| Azerbaijan|link=:Category:Azerbaijan]]
 
  |australia        = [[Image:Au.png| Australia|link=:Category:Australia]]
 
  |argentina        = [[Image:Ar.png| Argentina|link=:Category:Argentina]]
 
  |armenia          = [[Image:Am.png| Armenia|link=:Category:Armenia]]
 
  |austria          = [[Image:At.png| Austria|link=:Category:Austria]]
 
  |azerbaijan        = [[Image:Az.png| Azerbaijan|link=:Category:Azerbaijan]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|i={{#switch:{{lc:{{{1|}}} }}
 
  |it                = [[Image:It.png| Italy|link=:Category:Italy]]
 
  |id                = [[Image:Id.png| Indonesia|link=:Category:Indonesia]]
 
  |ie                = [[Image:Ie.png| Ireland|link=:Category:Ireland]]
 
  |in                = [[Image:In.png| India|link=:Category:India]]
 
  |ir                = [[Image:Ir.png| Iran|link=:Category:Iran]]
 
  |il                = [[Image:Il.png| Israel|link=:Category:Israel]]
 
  |is                = [[Image:Is.png| Iceland|link=:Category:Iceland]]
 
  |italy            = [[Image:It.png| Italy|link=:Category:Italy]]
 
  |iceland          = [[Image:Is.png| Iceland|link=:Category:Iceland]]
 
  |indonesia        = [[Image:Id.png| Indonesia|link=:Category:Indonesia]]
 
  |israel            = [[Image:Il.png| Israel|link=:Category:Israel]]
 
  |iran              = [[Image:Ir.png| Iran|link=:Category:Iran]]
 
  |ireland          = [[Image:Ie.png| Ireland|link=:Category:Ireland]]
 
  |india            = [[Image:In.png| India|link=:Category:India]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|b={{#switch:{{lc:{{{1|}}} }}
 
  |be                = [[Image:Be.png| Belgium|link=:Category:Belgium]]
 
  |bg                = [[Image:Bg.png| Bulgaria|link=:Category:Bulgaria]]
 
  |bo                = [[Image:Bo.png| Bolivia|link=:Category:Bolivia]]
 
  |ba                = [[Image:Ba.png| Bosnia and Herzegovina|link=:Category:Bosnia and Herzegovina]]
 
  |br                = [[Image:Br.png| Brazil|link=:Category:Brazil]]
 
  |by                = [[Image:By.png| Belarus|link=:Category:Belarus]]
 
  |belarus          = [[Image:By.png| Belarus|link=:Category:Belarus]]
 
  |belgium          = [[Image:Be.png| Belgium|link=:Category:Belgium]]
 
  |bolivia          = [[Image:Bo.png| Bolivia|link=:Category:Bolivia]]
 
  |bosnia            = [[Image:Ba.png| Bosnia and Herzegovina|link=:Category:Bosnia and Herzegovina]]
 
  |brazil            = [[Image:Br.png| Brazil|link=:Category:Brazil]]
 
  |bulgaria          = [[Image:Bg.png| Bulgaria|link=:Category:Bulgaria]]
 
  |bd                = [[Image:Bd.png| Bangladesh|link=:Category:Bangladesh]]
 
  |bangladesh        = [[Image:Bd.png| Bangladesh|link=:Category:Bangladesh]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Class]]
 
  }}
 
|m={{#switch:{{lc:{{{1|}}} }}
 
  |mx                = [[Image:Mx.png| Mexico|link=:Category:Mexico]]
 
  |ma                = [[Image:Ma.png| Morocco|link=:Category:Morocco]]
 
  |mk                = [[Image:Mk.png| Macedonia|link=:Category:Macedonia]]
 
  |my                = [[Image:My.png| Malaysia|link=:Category:Malaysia]]
 
  |md                = [[Image:Md.png| Moldova|link=:Category:Moldova]]
 
  |mo                = [[Image:Mo.png| Macau|link=:Category:Macau]]
 
  |mt                = [[Image:Mt.png| Malta|link=:Category:Malta]]
 
  |mv                = [[Image:Mv.png| Maldives|link=:Category:Maldives]]
 
  |mn                = [[Image:Mn.png| Mongolia|link=:Category:Mongolia]]
 
  |macedonia        = [[Image:Mk.png| Macedonia|link=:Category:Macedonia]]
 
  |macau            = [[Image:Mo.png| Macau|link=:Category:Macau]]
 
  |malaysia          = [[Image:My.png| Malaysia|link=:Category:Malaysia]]
 
  |mexico            = [[Image:Mx.png| Mexico|link=:Category:Mexico]]
 
  |morocco          = [[Image:Ma.png| Morocco|link=:Category:Morocco]]
 
  |moldova          = [[Image:Md.png| Moldova|link=:Category:Moldova]]
 
  |malta            = [[Image:Mt.png| Malta|link=:Category:Malta]]
 
  |maldives          = [[Image:Mv.png| Maldives|link=:Category:Maldives]]
 
  |mongolia          = [[Image:Mn.png| Mongolia|link=:Category:Mongolia]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|g={{#switch:{{lc:{{{1|}}} }}
 
  |gb                = [[Image:Uk.png| United Kingdom|link=:Category:United Kingdom]]
 
  |gr                = [[Image:Gr.png| Greece|link=:Category:Greece]]
 
  |gt                = [[Image:Gt.png| Guatemala|link=:Category:Guatemala]]
 
  |germany          = [[Image:De.png| Germany|link=:Category:Germany]]
 
  |gerspeaking      = [[Image:DeAt.png| GerSpeaking|link=:Category:GerSpeaking]]
 
  |greece            = [[Image:Gr.png| Greece|link=:Category:Greece]]
 
  |guatemala        = [[Image:Gt.png| Guatemala|link=:Category:Guatemala]]
 
  |global            = [[Image:World flag.png| Global| link=:Category:Global]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|h={{#switch:{{lc:{{{1|}}} }}
 
  |hr                = [[Image:Hr.png| Croatia|link=:Category:Croatia]]
 
  |hu                = [[Image:Hu.png| Hungary|link=:Category:Hungary]]
 
  |hk                = [[Image:Hk.png| Hong Kong|link=:Category:Hong Kong]]
 
  |hn                = [[Image:Hn.png| Honduras|link=:Category:Honduras]]
 
  |holland          = [[Image:Nl.png| Netherlands|link=:Category:Netherlands]]
 
      |hongkong
 
  |hong kong        = [[Image:Hk.png| Hong Kong|link=:Category:Hong Kong]]
 
  |hungary          = [[Image:Hu.png| Hungary|link=:Category:Hungary]]
 
  |honduras          = [[Image:Hn.png| Honduras|link=:Category:Honduras]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|l={{#switch:{{lc:{{{1|}}} }}
 
  |lt                = [[Image:Lt.png| Lithuania|link=:Category:Lithuania]]
 
  |lv                = [[Image:Lv.png| Latvia|link=:Category:Latvia]]
 
  |lu                = [[Image:Lu.png| Luxembourg|link=:Category:Luxembourg]]
 
  |ly                = [[Image:Ly.png| Libya|link=:Category:Libya]]
 
  |lk                = [[Image:Lk.png| Sri Lanka|link=:Category:Sri Lanka]]
 
  |li                = [[Image:Li.png| Liechtenstein|link=:Category:Liechtenstein]]
 
  |latvia            = [[Image:Lv.png| Latvia|link=:Category:Latvia]]
 
  |lithuania        = [[Image:Lt.png| Lithuania|link=:Category:Lithuania]]
 
  |luxembourg        = [[Image:Lu.png| Luxembourg|link=:Category:Luxembourg]]
 
  |libya            = [[Image:Ly.png| Libya|link=:Category:Libya]]
 
  |liechtenstein    = [[Image:Li.png| Liechtenstein|link=:Category:Liechtenstein]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|t={{#switch:{{lc:{{{1|}}} }}
 
  |th                = [[Image:Th.png| Thailand|link=:Category:Thailand]]
 
  |tn                = [[Image:Tn.png| Tunisia|link=:Category:Tunisia]]
 
  |tt                = [[Image:Tt.png| Trinidad And Tobago|link=:Category:Trinidad And Tobago]]
 
  |tr                = [[Image:Tr.png| Turkey|link=:Category:Turkey]]
 
  |tw                = [[Image:Tw.png| Taiwan|link=:Category:Taiwan]]
 
  |taiwan            = [[Image:Tw.png| Taiwan|link=:Category:Taiwan]]
 
  |thailand          = [[Image:Th.png| Thailand|link=:Category:Thailand]]
 
  |trinidadandtobago = [[Image:Tt.png| Trinidad And Tobago|link=:Category:Trinidad And Tobago]]
 
  |turkey            = [[Image:Tr.png| Turkey|link=:Category:Turkey]]
 
  |tunisia          = [[Image:Tn.png| Tunisia|link=:Category:Tunisia]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|v={{#switch:{{lc:{{{1|}}} }}
 
  |ve                = [[Image:Ve.png| Venezuela|link=:Category:Venezuela]]
 
  |vn                = [[Image:Vn.png| Vietnam|link=:Category:Vietnam]]
 
  |venezuela        = [[Image:Ve.png| Venezuela|link=:Category:Venezuela]]
 
  |vietnam          = [[Image:Vn.png| Vietnam|link=:Category:Vietnam]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|w={{#switch:{{lc:{{{1|}}} }}
 
  |wa                = [[Image:Wa.png| Wales|link=:Category:Wales]]
 
  |wales            = [[Image:Wa.png| Wales|link=:Category:Wales]]
 
  |world            = [[Image:World flag.png| Global| link=:Category:Global]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|j={{#switch:{{lc:{{{1|}}} }}
 
  |jm                = [[Image:Jm.png| Jamaica|link=:Category:Jamaica]]
 
  |jp                = [[Image:Jp.png| Japan|link=:Category:Japan]]
 
  |jamaica          = [[Image:Jm.png| Jamaica|link=:Category:Jamaica]]
 
  |japan            = [[Image:Jp.png| Japan|link=:Category:Japan]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
|z={{#switch:{{lc:{{{1|}}} }}
 
  |za                = [[Image:Za.png| South Africa|link=:Category:South Africa]]
 
      |zw
 
  |zimbabwe          = [[Image:Zw.png| Zimbabwe|link=:Category:Zimbabwe]]
 
  |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
  }}
 
| [[Category:Unrecognised Flag]]
 
}}}}<noinclude>
 
 
 
Template for flag icons.
 
 
 
== Usage ==
 
Just copy the code below to the page you want.
 
 
 
=== Example ===
 
<pre>{{flag|uk}}</pre>
 
=== Will Yeld ===
 
{{flag|uk}}
 
 
 
You can also use the full names, e.g.:
 
 
 
<code><nowiki>{{flag|united kingdom}}</nowiki></code> = {{flag|united kingdom}}<br/>
 
<code><nowiki>{{flag|australia}}</nowiki></code> = {{flag|australia}}
 
 
 
== Country Variables (Usable Abbreviations) ==
 
In addition to writing out the full name of each country, you can also use [http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes two-letter country codes] and in some cases other common abbreviations.
 
 
 
Below are the currently supported countries and abreviations in the flag template:
 
{|
 
|-
 
|
 
*{{flag|ar}} Argentina (ar)
 
*{{flag|am}} Armenia (am)
 
*{{flag|au}} Australia (au)
 
*{{flag|at}} Austria (at)
 
*{{flag|az}} Azerbaijan (az)
 
*{{flag|bd}} Bangladesh (bd)
 
*{{flag|by}} Belarus (by)
 
*{{flag|be}} Belgium (be)
 
*{{flag|bo}} Bolivia (bo)
 
*{{flag|ba}} Bosnia and Herzegovina (ba)
 
*{{flag|br}} Brazil (br)
 
*{{flag|bg}} Bulgaria (bg)
 
*{{flag|ca}} Canada (ca)
 
*{{flag|cl}} Chile (cl)
 
*{{flag|cn}} China (cn)
 
*{{flag|co}} Colombia (co)
 
*{{flag|cr}} Costa Rica (cr)
 
*{{flag|hr}} Croatia (hr)
 
*{{flag|cz}} Czech Republic (cz)
 
*{{flag|dk}} Denmark (dk)
 
*{{flag|do}} Dominican Republic (do)
 
*{{flag|eg}} Egypt (eg)
 
*{{flag|sv}} El Salvador (sv)
 
*{{flag|uken}} England (uken)
 
:*{{flag|usuk}} English Speaking (usuk)
 
*{{flag|eu}} Europe (eu)
 
*{{flag|ee}} Estonia (ee)
 
||
 
*{{flag|ec}} Ecuador (ec)
 
*{{flag|fo}} Faroe Islands (fo)
 
*{{flag|fi}} Finland (fi)
 
*{{flag|fr}} France (fr)
 
*{{flag|de}} Germany (de)
 
*{{flag|gr}} Greece (gr)
 
*{{flag|gt}} Guatemala (gt)
 
*{{flag|hk}} Hong Kong (hk)
 
*{{flag|hn}} Honduras (hn)
 
*{{flag|hu}} Hungary (hu)
 
*{{flag|is}} Iceland (is)
 
*{{flag|in}} India (in)
 
*{{flag|id}} Indonesia (id)
 
*{{flag|il}} Israel (il)
 
*{{flag|ir}} Iran (ir)
 
*{{flag|ie}} Ireland (ie)
 
*{{flag|it}} Italy (it)
 
*{{flag|jm}} Jamaica (jm)
 
*{{flag|jp}} Japan (jp)
 
*{{flag|kz}} Kazakhstan (kz)
 
*{{flag|kr}} Korea (kr)
 
*{{flag|kw}} Kuwait (kw)
 
*{{flag|lv}} Latvia (lv)
 
*{{flag|ly}} Libya (ly)
 
*{{flag|li}} Liechtenstein (li)
 
*{{flag|lt}} Lithuania (lt)
 
||
 
*{{flag|lu}} Luxembourg (lu)
 
*{{flag|mo}} Macau (mo)
 
*{{flag|mk}} Macedonia (mk)
 
*{{flag|my}} Malaysia (my)
 
*{{flag|mv}} Maldives (mv)
 
*{{flag|mt}} Malta (mt)
 
*{{flag|mx}} Mexico (mx)
 
*{{flag|md}} Moldova (md)
 
*{{flag|ma}} Morocco (ma)
 
*{{flag|na}} Namibia (na)
 
*{{flag|nl}} Netherlands (nl)
 
*{{flag|nz}} New Zealand (nz)
 
*{{flag|ni}} Nicaragua (ni)
 
*{{flag|ng}} Nigeria (ng)
 
*{{flag|nam}} North America (nam)
 
*{{flag|no}} Norway (no)
 
*{{flag|pa}} Panama (pa)
 
*{{flag|pk}} Pakistan (pk)
 
*{{flag|py}} Paraguay (py)
 
*{{flag|pe}} Peru (pe)
 
*{{flag|ph}} Philippines (ph)
 
*{{flag|pl}} Poland (pl)
 
*{{flag|pt}} Portugal (pt)
 
*{{flag|pr}} Puerto Rico (pr)
 
*{{flag|ro}} Romania (ro)
 
*{{flag|ru}} Russia (ru)
 
||
 
*{{flag|uksc}} Scotland (sc)
 
*{{flag|rs}} Serbia (rs)
 
*{{flag|sg}} Singapore (sg)
 
*{{flag|sk}} Slovak Republic (sk)
 
*{{flag|si}} Slovenia (si)
 
*{{flag|za}} South Africa (za)
 
*{{flag|so}} Somalia (so)
 
*{{flag|es}} Spain (es)
 
*{{flag|se}} Sweden (se)
 
*{{flag|ch}} Switzerland (ch)
 
*{{flag|tw}} Taiwan (tw)
 
*{{flag|th}} Thailand (th)
 
*{{flag|tt}} Trinidad And Tobago (tt)
 
*{{flag|tr}} Turkey (tr)
 
*{{flag|tn}} Tunisia (tn)
 
*{{flag|ua}} Ukraine (ua)
 
*{{flag|ae}} United Arab Emirates (ae, uae)
 
*{{flag|uk}} United Kingdom (gb, uk)
 
*{{flag|un}} United Nations (un)
 
*{{flag|us}} USA (us)
 
*{{flag|uz}} Uzbekistan (uz)
 
*{{flag|ve}} Venezuela (ve)
 
*{{flag|vn}} Vietnam (vn)
 
*{{flag|ukwa}} Wales (wa)
 
*{{flag|zw}} Zimbabwe (zw)
 
|}
 
 
 
If the flag name is spelled incorrectly the page gets added to [[:Category:Unrecognised Flag]] and a placeholder flag {{flag|ff}} is used to keep alignment consistent. This flag can optionally be added intentionally by writing "filler flag" or "ff".
 
 
 
[[Category:Template]]</noinclude>
 

Revision as of 08:24, 18 March 2016

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]]