Difference between revisions of "Template:Flag"

From comp.tf
Jump to navigation Jump to search
m (fixed austria flag)
m (turned the .gifs into .png)
Line 19: Line 19:
  
 
   |uk                = [[Image:Uk.png| United Kingdom|link=:Category:United Kingdom]]
 
   |uk                = [[Image:Uk.png| United Kingdom|link=:Category:United Kingdom]]
   |un                = [[Image:Un.gif| United Nations|link=:Category:United Nations]]
+
   |un                = [[Image:Un.png| United Nations|link=:Category:United Nations]]
   |uken              = [[Image:En.gif| England|link=:Category:England]]
+
   |uken              = [[Image:En.png| England|link=:Category:England]]
 
   |ukni              = [[Image:Ni.png| Northern Ireland|link=:Category:Northern Ireland]]
 
   |ukni              = [[Image:Ni.png| Northern Ireland|link=:Category:Northern Ireland]]
   |uksc              = [[Image:Sc.gif| Scotland|link=:Category:Scotland]]
+
   |uksc              = [[Image:Sc.png| Scotland|link=:Category:Scotland]]
   |ukwa              = [[Image:Wa.gif| Wales|link=:Category:Wales]]
+
   |ukwa              = [[Image:Wa.png| Wales|link=:Category:Wales]]
 
   |uz                = [[Image:Uz.png| Uzbekistan|link=:Category:Uzbekistan]]
 
   |uz                = [[Image:Uz.png| Uzbekistan|link=:Category:Uzbekistan]]
 
   |usuk              = [[Image:UsUk.png| EngSpeaking]]
 
   |usuk              = [[Image:UsUk.png| EngSpeaking]]
   |uy                = [[Image:Uy.gif| Uruguay|link=:Category:Uruguay]]
+
   |uy                = [[Image:Uy.png| Uruguay|link=:Category:Uruguay]]
 
       |unitedkingdom
 
       |unitedkingdom
 
   |united kingdom    = [[Image:Uk.png| United Kingdom|link=:Category:United Kingdom]]
 
   |united kingdom    = [[Image:Uk.png| United Kingdom|link=:Category:United Kingdom]]
   |united nations    = [[Image:Un.gif| United Nations|link=:Category:United Nations]]
+
   |united nations    = [[Image:Un.png| United Nations|link=:Category:United Nations]]
 
   |uzbekistan        = [[Image:Uz.png| Uzbekistan|link=:Category:Uzbekistan]]
 
   |uzbekistan        = [[Image:Uz.png| Uzbekistan|link=:Category:Uzbekistan]]
   |uruguay          = [[Image:Uy.gif| Uruguay|link=:Category:Uruguay]]
+
   |uruguay          = [[Image:Uy.png| Uruguay|link=:Category:Uruguay]]
 
   |uae                = [[Image:Ae.png| United Arab Emirates|link=:Category:United Arab Emirates]]
 
   |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]]
 
   |united arab emirates = [[Image:Ae.png| United Arab Emirates|link=:Category:United Arab Emirates]]
Line 42: Line 42:
 
   |sweden            = [[Image:Se.png| Sweden|link=:Category:Sweden]]
 
   |sweden            = [[Image:Se.png| Sweden|link=:Category:Sweden]]
  
   |sc                = [[Image:Sc.gif| Scotland|link=:Category:Scotland]]
+
   |sc                = [[Image:Sc.png| Scotland|link=:Category:Scotland]]
 
   |sg                = [[Image:Sg.png| Singapore|link=:Category:Singapore]]
 
   |sg                = [[Image:Sg.png| Singapore|link=:Category:Singapore]]
 
   |si                = [[Image:Si.png| Slovenia|link=:Category:Slovenia]]
 
   |si                = [[Image:Si.png| Slovenia|link=:Category:Slovenia]]
Line 48: Line 48:
 
   |sv                = [[Image:Sv.png| El Salvador|link=:Category:El Salvador]]
 
   |sv                = [[Image:Sv.png| El Salvador|link=:Category:El Salvador]]
 
   |so                = [[Image:So.png| Somalia|link=:Category:Somalia]]
 
   |so                = [[Image:So.png| Somalia|link=:Category:Somalia]]
   |scotland          = [[Image:Sc.gif| Scotland|link=:Category:Scotland]]
+
   |scotland          = [[Image:Sc.png| Scotland|link=:Category:Scotland]]
 
   |serbia            = [[Image:Rs.png| Serbia|link=:Category:Serbia]]
 
   |serbia            = [[Image:Rs.png| Serbia|link=:Category:Serbia]]
 
       |saudiarabia
 
       |saudiarabia
Line 76: Line 76:
 
   |cr                = [[Image:Cr.png| Costa Rica|link=:Category:Costa Rica]]
 
   |cr                = [[Image:Cr.png| Costa Rica|link=:Category:Costa Rica]]
 
   |cz                = [[Image:Cz.png| Czech Republic|link=:Category:Czech Republic]]
 
   |cz                = [[Image:Cz.png| Czech Republic|link=:Category:Czech Republic]]
   |cy                = [[Image:Cy.gif| Cyprus|link=:Category:Cyprus]]
+
   |cy                = [[Image:Cy.png| Cyprus|link=:Category:Cyprus]]
 
   |chile            = [[Image:Cl.png| Chile|link=:Category:Chile]]
 
   |chile            = [[Image:Cl.png| Chile|link=:Category:Chile]]
 
   |colombia          = [[Image:Co.png| Colombia|link=:Category:Colombia]]
 
   |colombia          = [[Image:Co.png| Colombia|link=:Category:Colombia]]
Line 85: Line 85:
 
       |czechrepublic
 
       |czechrepublic
 
   |czech republic    = [[Image:Cz.png| Czech Republic|link=:Category:Czech Republic]]
 
   |czech republic    = [[Image:Cz.png| Czech Republic|link=:Category:Czech Republic]]
   |cyprus            = [[Image:Cy.gif| Cyprus|link=:Category:Cyprus]]
+
   |cyprus            = [[Image:Cy.png| Cyprus|link=:Category:Cyprus]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
Line 91: Line 91:
 
   |de                = [[Image:De.png| Germany|link=:Category:Germany]]
 
   |de                = [[Image:De.png| Germany|link=:Category:Germany]]
 
   |dk                = [[Image:Dk.png| Denmark|link=:Category:Denmark]]
 
   |dk                = [[Image:Dk.png| Denmark|link=:Category:Denmark]]
   |do                = [[Image:Do.gif| Dominican Republic|link=:Category:Dominican Republic]]
+
   |do                = [[Image:Do.png| Dominican Republic|link=:Category:Dominican Republic]]
 
   |deat              = [[Image:DeAt.png| GerSpeaking]]
 
   |deat              = [[Image:DeAt.png| GerSpeaking]]
 
   |denmark          = [[Image:Dk.png| Denmark|link=:Category:Denmark]]
 
   |denmark          = [[Image:Dk.png| Denmark|link=:Category:Denmark]]
   |dominican republic= [[Image:Do.gif| Dominican Republic|link=:Category:Dominican Republic]]
+
   |dominican republic= [[Image:Do.png| Dominican Republic|link=:Category:Dominican Republic]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
Line 137: Line 137:
 
|e={{#switch:{{lc:{{{1|}}} }}
 
|e={{#switch:{{lc:{{{1|}}} }}
 
   |eu                = [[Image:Eu.png| Europe|link=:Category:Europe]]
 
   |eu                = [[Image:Eu.png| Europe|link=:Category:Europe]]
   |en                = [[Image:En.gif| England|link=:Category:England]]
+
   |en                = [[Image:En.png| England|link=:Category:England]]
 
   |es                = [[Image:Es.png| Spain|link=:Category:Spain]]
 
   |es                = [[Image:Es.png| Spain|link=:Category:Spain]]
 
   |engspeaking      = [[Image:En lang.png| EngSpeaking]]
 
   |engspeaking      = [[Image:En lang.png| EngSpeaking]]
 
   |enlang            = [[Image:En lang.png| EngSpeaking]]
 
   |enlang            = [[Image:En lang.png| EngSpeaking]]
   |england          = [[Image:En.gif| England|link=:Category:England]]
+
   |england          = [[Image:En.png| England|link=:Category:England]]
 
   |europe            = [[Image:Eu.png| Europe|link=:Category:Europe]]
 
   |europe            = [[Image:Eu.png| Europe|link=:Category:Europe]]
 
   |ec                = [[Image:Ec.png| Ecuador|link=:Category:Ecuador]]
 
   |ec                = [[Image:Ec.png| Ecuador|link=:Category:Ecuador]]
Line 147: Line 147:
 
   |estonia          = [[Image:Ee.png| Estonia|link=:Category:Estonia]]
 
   |estonia          = [[Image:Ee.png| Estonia|link=:Category:Estonia]]
 
   |ecuador          = [[Image:Ec.png| Ecuador|link=:Category:Ecuador]]
 
   |ecuador          = [[Image:Ec.png| Ecuador|link=:Category:Ecuador]]
   |eg                = [[Image:Eg.gif| Egypt|link=:Category:Egypt]]
+
   |eg                = [[Image:Eg.png| Egypt|link=:Category:Egypt]]
   |egypt            = [[Image:Eg.gif| Egypt|link=:Category:Egypt]]
+
   |egypt            = [[Image:Eg.png| Egypt|link=:Category:Egypt]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
Line 155: Line 155:
 
   |pa                = [[Image:Pa.png| Panama|link=:Category:Panama]]
 
   |pa                = [[Image:Pa.png| Panama|link=:Category:Panama]]
 
   |pk                = [[Image:Pk.png| Pakistan|link=:Category:Pakistan]]
 
   |pk                = [[Image:Pk.png| Pakistan|link=:Category:Pakistan]]
   |py                = [[Image:Py.gif| Paraguay|link=:Category:Paraguay]]
+
   |py                = [[Image:Py.png| Paraguay|link=:Category:Paraguay]]
 
   |pe                = [[Image:Pe.png| Peru|link=:Category:Peru]]
 
   |pe                = [[Image:Pe.png| Peru|link=:Category:Peru]]
 
   |ph                = [[Image:Ph.png| Philippines|link=:Category:Philippines]]
 
   |ph                = [[Image:Ph.png| Philippines|link=:Category:Philippines]]
Line 162: Line 162:
 
   |pakistan          = [[Image:Pk.png| Pakistan|link=:Category:Pakistan]]
 
   |pakistan          = [[Image:Pk.png| Pakistan|link=:Category:Pakistan]]
 
   |panama            = [[Image:Pa.png| Panama|link=:Category:Panama]]
 
   |panama            = [[Image:Pa.png| Panama|link=:Category:Panama]]
   |paraguay          = [[Image:Py.gif| Paraguay|link=:Category:Paraguay]]
+
   |paraguay          = [[Image:Py.png| Paraguay|link=:Category:Paraguay]]
 
   |peru              = [[Image:Pe.png| Peru|link=:Category:Peru]]
 
   |peru              = [[Image:Pe.png| Peru|link=:Category:Peru]]
 
   |philippines      = [[Image:Ph.png| Philippines|link=:Category:Philippines]]
 
   |philippines      = [[Image:Ph.png| Philippines|link=:Category:Philippines]]
Line 176: Line 176:
 
   |ar                = [[Image:Ar.png| Argentina|link=:Category:Argentina]]
 
   |ar                = [[Image:Ar.png| Argentina|link=:Category:Argentina]]
 
   |am                = [[Image:Am.png| Armenia|link=:Category:Armenia]]
 
   |am                = [[Image:Am.png| Armenia|link=:Category:Armenia]]
   |at                = [[Image:At.gif| Austria|link=:Category:Austria]]
+
   |at                = [[Image:At.png| Austria|link=:Category:Austria]]
 
   |az                = [[Image:Az.png| Azerbaijan|link=:Category:Azerbaijan]]
 
   |az                = [[Image:Az.png| Azerbaijan|link=:Category:Azerbaijan]]
 
   |australia        = [[Image:Au.png| Australia|link=:Category:Australia]]
 
   |australia        = [[Image:Au.png| Australia|link=:Category:Australia]]
Line 191: Line 191:
 
   |in                = [[Image:In.png| India|link=:Category:India]]
 
   |in                = [[Image:In.png| India|link=:Category:India]]
 
   |ir                = [[Image:Ir.png| Iran|link=:Category:Iran]]
 
   |ir                = [[Image:Ir.png| Iran|link=:Category:Iran]]
   |il                = [[Image:Il.gif| Israel|link=:Category:Israel]]
+
   |il                = [[Image:Il.png| Israel|link=:Category:Israel]]
 
   |is                = [[Image:Is.png| Iceland|link=:Category:Iceland]]
 
   |is                = [[Image:Is.png| Iceland|link=:Category:Iceland]]
 
   |italy            = [[Image:It.png| Italy|link=:Category:Italy]]
 
   |italy            = [[Image:It.png| Italy|link=:Category:Italy]]
 
   |iceland          = [[Image:Is.png| Iceland|link=:Category:Iceland]]
 
   |iceland          = [[Image:Is.png| Iceland|link=:Category:Iceland]]
 
   |indonesia        = [[Image:Id.png| Indonesia|link=:Category:Indonesia]]
 
   |indonesia        = [[Image:Id.png| Indonesia|link=:Category:Indonesia]]
   |israel            = [[Image:Il.gif| Israel|link=:Category:Israel]]
+
   |israel            = [[Image:Il.png| Israel|link=:Category:Israel]]
 
   |iran              = [[Image:Ir.png| Iran|link=:Category:Iran]]
 
   |iran              = [[Image:Ir.png| Iran|link=:Category:Iran]]
 
   |ireland          = [[Image:Ie.png| Ireland|link=:Category:Ireland]]
 
   |ireland          = [[Image:Ie.png| Ireland|link=:Category:Ireland]]
Line 206: Line 206:
 
   |bg                = [[Image:Bg.png| Bulgaria|link=:Category:Bulgaria]]
 
   |bg                = [[Image:Bg.png| Bulgaria|link=:Category:Bulgaria]]
 
   |bo                = [[Image:Bo.png| Bolivia|link=:Category:Bolivia]]
 
   |bo                = [[Image:Bo.png| Bolivia|link=:Category:Bolivia]]
   |ba                = [[Image:Ba.gif| Bosnia and Herzegovina|link=:Category:Bosnia and Herzegovina]]
+
   |ba                = [[Image:Ba.png| Bosnia and Herzegovina|link=:Category:Bosnia and Herzegovina]]
 
   |br                = [[Image:Br.png| Brazil|link=:Category:Brazil]]
 
   |br                = [[Image:Br.png| Brazil|link=:Category:Brazil]]
 
   |by                = [[Image:By.png| Belarus|link=:Category:Belarus]]
 
   |by                = [[Image:By.png| Belarus|link=:Category:Belarus]]
Line 212: Line 212:
 
   |belgium          = [[Image:Be.png| Belgium|link=:Category:Belgium]]
 
   |belgium          = [[Image:Be.png| Belgium|link=:Category:Belgium]]
 
   |bolivia          = [[Image:Bo.png| Bolivia|link=:Category:Bolivia]]
 
   |bolivia          = [[Image:Bo.png| Bolivia|link=:Category:Bolivia]]
   |bosnia            = [[Image:Ba.gif| Bosnia and Herzegovina|link=:Category:Bosnia and Herzegovina]]
+
   |bosnia            = [[Image:Ba.png| Bosnia and Herzegovina|link=:Category:Bosnia and Herzegovina]]
 
   |brazil            = [[Image:Br.png| Brazil|link=:Category:Brazil]]
 
   |brazil            = [[Image:Br.png| Brazil|link=:Category:Brazil]]
 
   |bulgaria          = [[Image:Bg.png| Bulgaria|link=:Category:Bulgaria]]
 
   |bulgaria          = [[Image:Bg.png| Bulgaria|link=:Category:Bulgaria]]
   |bd                = [[Image:Bd.gif| Bangladesh|link=:Category:Bangladesh]]
+
   |bd                = [[Image:Bd.png| Bangladesh|link=:Category:Bangladesh]]
   |bangladesh        = [[Image:Bd.gif| Bangladesh|link=:Category:Bangladesh]]
+
   |bangladesh        = [[Image:Bd.png| Bangladesh|link=:Category:Bangladesh]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Class]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Class]]
 
   }}
 
   }}
Line 224: Line 224:
 
   |mk                = [[Image:Mk.png| Macedonia|link=:Category:Macedonia]]
 
   |mk                = [[Image:Mk.png| Macedonia|link=:Category:Macedonia]]
 
   |my                = [[Image:My.png| Malaysia|link=:Category:Malaysia]]
 
   |my                = [[Image:My.png| Malaysia|link=:Category:Malaysia]]
   |md                = [[Image:Md.gif| Moldova|link=:Category:Moldova]]
+
   |md                = [[Image:Md.png| Moldova|link=:Category:Moldova]]
 
   |mt                = [[Image:Mt.png| Malta|link=:Category:Malta]]
 
   |mt                = [[Image:Mt.png| Malta|link=:Category:Malta]]
 
   |mv                = [[Image:Mv.png| Maldives|link=:Category:Maldives]]
 
   |mv                = [[Image:Mv.png| Maldives|link=:Category:Maldives]]
Line 232: Line 232:
 
   |mexico            = [[Image:Mx.png| Mexico|link=:Category:Mexico]]
 
   |mexico            = [[Image:Mx.png| Mexico|link=:Category:Mexico]]
 
   |morocco          = [[Image:Ma.png| Morocco|link=:Category:Morocco]]
 
   |morocco          = [[Image:Ma.png| Morocco|link=:Category:Morocco]]
   |moldova          = [[Image:Md.gif| Moldova|link=:Category:Moldova]]
+
   |moldova          = [[Image:Md.png| Moldova|link=:Category:Moldova]]
 
   |malta            = [[Image:Mt.png| Malta|link=:Category:Malta]]
 
   |malta            = [[Image:Mt.png| Malta|link=:Category:Malta]]
 
   |maldives          = [[Image:Mv.png| Maldives|link=:Category:Maldives]]
 
   |maldives          = [[Image:Mv.png| Maldives|link=:Category:Maldives]]
Line 278: Line 278:
 
   |tn                = [[Image:Tn.png| Tunisia|link=:Category:Tunisia]]
 
   |tn                = [[Image:Tn.png| Tunisia|link=:Category:Tunisia]]
 
   |tt                = [[Image:Tt.png| Trinidad And Tobago|link=:Category:Trinidad And Tobago]]
 
   |tt                = [[Image:Tt.png| Trinidad And Tobago|link=:Category:Trinidad And Tobago]]
   |tr                = [[Image:Tr.gif| Turkey|link=:Category:Turkey]]
+
   |tr                = [[Image:Tr.png| Turkey|link=:Category:Turkey]]
 
   |tw                = [[Image:Tw.png| Taiwan|link=:Category:Taiwan]]
 
   |tw                = [[Image:Tw.png| Taiwan|link=:Category:Taiwan]]
 
   |taiwan            = [[Image:Tw.png| Taiwan|link=:Category:Taiwan]]
 
   |taiwan            = [[Image:Tw.png| Taiwan|link=:Category:Taiwan]]
 
   |thailand          = [[Image:Th.png| Thailand|link=:Category:Thailand]]
 
   |thailand          = [[Image:Th.png| Thailand|link=:Category:Thailand]]
 
   |trinidadandtobago = [[Image:Tt.png| Trinidad And Tobago|link=:Category:Trinidad And Tobago]]
 
   |trinidadandtobago = [[Image:Tt.png| Trinidad And Tobago|link=:Category:Trinidad And Tobago]]
   |turkey            = [[Image:Tr.gif| Turkey|link=:Category:Turkey]]
+
   |turkey            = [[Image:Tr.png| Turkey|link=:Category:Turkey]]
 
   |tunisia          = [[Image:Tn.png| Tunisia|link=:Category:Tunisia]]
 
   |tunisia          = [[Image:Tn.png| Tunisia|link=:Category:Tunisia]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
Line 295: Line 295:
 
   }}
 
   }}
 
|w={{#switch:{{lc:{{{1|}}} }}
 
|w={{#switch:{{lc:{{{1|}}} }}
   |wa                = [[Image:Wa.gif| Wales|link=:Category:Wales]]
+
   |wa                = [[Image:Wa.png| Wales|link=:Category:Wales]]
   |wales            = [[Image:Wa.gif| Wales|link=:Category:Wales]]
+
   |wales            = [[Image:Wa.png| Wales|link=:Category:Wales]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}

Revision as of 15:15, 28 January 2014


Template for flag icons.

Usage

Just copy the code below to the page you want.

Example

{{flag|uk}}

Will Yeld

United Kingdom

You can also use the full names, e.g.:

{{flag|united kingdom}} = United Kingdom
{{flag|australia}} = Australia

Available Flags

The coutry codes are as follows:

  • Australia Australia (au)
  • Austria Austria (at)
  • Belgium Belgium (be)
  • Brazil Brazil (br)
  • Canada Canada (ca)
  • England England (en)
  • Europe European Union (eu)
  • Finland Finland (fi)
  • France France (fr)
  • Germany Germany (de)
  • Ireland Ireland (ie)
  • Netherlands Netherlands (nl)
  • Norway Norway (no)
  • Portugal Portugal (pt)
  • Saudi Arabia Saudi Arabia (sa)
  • Spain Spain (es)
  • Sweden Sweden (se)
  • United Kingdom United Kingdom (uk)
  • USA United States (us)
  • Wales Wales (wa)