Difference between revisions of "Template:Flag"

From comp.tf
Jump to navigation Jump to search
m (categorizing)
m
Line 7: Line 7:
 
   |kw
 
   |kw
 
   |kuwait            = [[Image:Kw.png| Kuwait|link=:Category:Kuwait]]
 
   |kuwait            = [[Image:Kw.png| Kuwait|link=:Category:Kuwait]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
  
 
   }}
 
   }}
Line 34: Line 34:
 
   |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]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|s={{#switch:{{lc:{{{1|}}} }}
 
|s={{#switch:{{lc:{{{1|}}} }}
Line 61: Line 61:
 
       |srilanka
 
       |srilanka
 
   |sri lanka        = [[Image:Lk.png| Sri Lanka|link=:Category:Sri Lanka]]
 
   |sri lanka        = [[Image:Lk.png| Sri Lanka|link=:Category:Sri Lanka]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|c={{#switch:{{lc:{{{1|}}} }}
 
|c={{#switch:{{lc:{{{1|}}} }}
Line 83: Line 83:
 
   |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.gif| Cyprus|link=:Category:Cyprus]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|d={{#switch:{{lc:{{{1|}}} }}
 
|d={{#switch:{{lc:{{{1|}}} }}
Line 92: Line 92:
 
   |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.gif| Dominican Republic|link=:Category:Dominican Republic]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|f={{#switch:{{lc:{{{1|}}} }}
 
|f={{#switch:{{lc:{{{1|}}} }}
   |ff                = [[Image:Space_filler_flag.png]]
+
   |ff                = [[Image:placeholderflag.png]]
 
   |fi                = [[Image:Fi.png| Finland|link=:Category:Finland]]
 
   |fi                = [[Image:Fi.png| Finland|link=:Category:Finland]]
 
   |fr                = [[Image:Fr.png| France|link=:Category:France]]
 
   |fr                = [[Image:Fr.png| France|link=:Category:France]]
   |filler flag      = [[Image:Space_filler_flag.png]]
+
   |filler flag      = [[Image:placeholderflag.png]]
 
   |finland          = [[Image:Fi.png| Finland|link=:Category:Finland]]
 
   |finland          = [[Image:Fi.png| Finland|link=:Category:Finland]]
 
   |fo                = [[Image:Fo.png| Faroe Islands|link=:Category:Faroe Islands]]
 
   |fo                = [[Image:Fo.png| Faroe Islands|link=:Category:Faroe Islands]]
Line 104: Line 104:
 
       |faroeislands
 
       |faroeislands
 
   |faroe islands    = [[Image:Fo.png| Faroe Islands|link=:Category:Faroe Islands]]
 
   |faroe islands    = [[Image:Fo.png| Faroe Islands|link=:Category:Faroe Islands]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|n={{#switch:{{lc:{{{1|}}} }}
 
|n={{#switch:{{lc:{{{1|}}} }}
Line 122: Line 122:
 
   |namibia          = [[Image:Na.png| Namibia|link=:Category:Namibia]]
 
   |namibia          = [[Image:Na.png| Namibia|link=:Category:Namibia]]
 
   |nigeria                = [[Image:Ng.png| Nigeria|link=:Category:Nigeria]]
 
   |nigeria                = [[Image:Ng.png| Nigeria|link=:Category:Nigeria]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|r={{#switch:{{lc:{{{1|}}} }}
 
|r={{#switch:{{lc:{{{1|}}} }}
Line 130: Line 130:
 
   |russia            = [[Image:Ru.png| Russia|link=:Category:Russia]]
 
   |russia            = [[Image:Ru.png| Russia|link=:Category:Russia]]
 
   |romania          = [[Image:Ro.png| Romania|link=:Category:Romania]]
 
   |romania          = [[Image:Ro.png| Romania|link=:Category:Romania]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|e={{#switch:{{lc:{{{1|}}} }}
 
|e={{#switch:{{lc:{{{1|}}} }}
Line 146: Line 146:
 
   |eg                = [[Image:Eg.gif| Egypt|link=:Category:Egypt]]
 
   |eg                = [[Image:Eg.gif| Egypt|link=:Category:Egypt]]
 
   |egypt            = [[Image:Eg.gif| Egypt|link=:Category:Egypt]]
 
   |egypt            = [[Image:Eg.gif| Egypt|link=:Category:Egypt]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|p={{#switch:{{lc:{{{1|}}} }}
 
|p={{#switch:{{lc:{{{1|}}} }}
Line 166: Line 166:
 
       |puertorico
 
       |puertorico
 
   |puerto rico      = [[Image:Pr.png| Puerto Rico|link=:Category:Puerto Rico]]
 
   |puerto rico      = [[Image:Pr.png| Puerto Rico|link=:Category:Puerto Rico]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|a={{#switch:{{lc:{{{1|}}} }}
 
|a={{#switch:{{lc:{{{1|}}} }}
Line 180: Line 180:
 
   |austria          = [[Image:At.png| Austria|link=:Category:Austria]]
 
   |austria          = [[Image:At.png| Austria|link=:Category:Austria]]
 
   |azerbaijan        = [[Image:Az.png| Azerbaijan|link=:Category:Azerbaijan]]
 
   |azerbaijan        = [[Image:Az.png| Azerbaijan|link=:Category:Azerbaijan]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|i={{#switch:{{lc:{{{1|}}} }}
 
|i={{#switch:{{lc:{{{1|}}} }}
Line 197: Line 197:
 
   |ireland          = [[Image:Ie.png| Ireland|link=:Category:Ireland]]
 
   |ireland          = [[Image:Ie.png| Ireland|link=:Category:Ireland]]
 
   |india            = [[Image:In.png| India|link=:Category:India]]
 
   |india            = [[Image:In.png| India|link=:Category:India]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|b={{#switch:{{lc:{{{1|}}} }}
 
|b={{#switch:{{lc:{{{1|}}} }}
Line 214: Line 214:
 
   |bd                = [[Image:Bd.gif| Bangladesh|link=:Category:Bangladesh]]
 
   |bd                = [[Image:Bd.gif| Bangladesh|link=:Category:Bangladesh]]
 
   |bangladesh        = [[Image:Bd.gif| Bangladesh|link=:Category:Bangladesh]]
 
   |bangladesh        = [[Image:Bd.gif| Bangladesh|link=:Category:Bangladesh]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Class]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Class]]
 
   }}
 
   }}
 
|m={{#switch:{{lc:{{{1|}}} }}
 
|m={{#switch:{{lc:{{{1|}}} }}
Line 233: Line 233:
 
   |maldives          = [[Image:Mv.png| Maldives|link=:Category:Maldives]]
 
   |maldives          = [[Image:Mv.png| Maldives|link=:Category:Maldives]]
 
   |mongolia          = [[Image:Mn.png| Mongolia|link=:Category:Mongolia]]
 
   |mongolia          = [[Image:Mn.png| Mongolia|link=:Category:Mongolia]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|g={{#switch:{{lc:{{{1|}}} }}
 
|g={{#switch:{{lc:{{{1|}}} }}
Line 243: Line 243:
 
   |greece            = [[Image:Gr.png| Greece|link=:Category:Greece]]
 
   |greece            = [[Image:Gr.png| Greece|link=:Category:Greece]]
 
   |guatemala        = [[Image:Gt.png| Guatemala|link=:Category:Guatemala]]
 
   |guatemala        = [[Image:Gt.png| Guatemala|link=:Category:Guatemala]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|h={{#switch:{{lc:{{{1|}}} }}
 
|h={{#switch:{{lc:{{{1|}}} }}
Line 255: Line 255:
 
   |hungary          = [[Image:Hu.png| Hungary|link=:Category:Hungary]]
 
   |hungary          = [[Image:Hu.png| Hungary|link=:Category:Hungary]]
 
   |honduras          = [[Image:Hn.png| Honduras|link=:Category:Honduras]]
 
   |honduras          = [[Image:Hn.png| Honduras|link=:Category:Honduras]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|l={{#switch:{{lc:{{{1|}}} }}
 
|l={{#switch:{{lc:{{{1|}}} }}
Line 269: Line 269:
 
   |libya            = [[Image:Ly.png| Libya|link=:Category:Libya]]
 
   |libya            = [[Image:Ly.png| Libya|link=:Category:Libya]]
 
   |liechtenstein    = [[Image:Li.png| Liechtenstein|link=:Category:Liechtenstein]]
 
   |liechtenstein    = [[Image:Li.png| Liechtenstein|link=:Category:Liechtenstein]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|t={{#switch:{{lc:{{{1|}}} }}
 
|t={{#switch:{{lc:{{{1|}}} }}
Line 282: Line 282:
 
   |turkey            = [[Image:Tr.gif| Turkey|link=:Category:Turkey]]
 
   |turkey            = [[Image:Tr.gif| Turkey|link=:Category:Turkey]]
 
   |tunisia          = [[Image:Tn.png| Tunisia|link=:Category:Tunisia]]
 
   |tunisia          = [[Image:Tn.png| Tunisia|link=:Category:Tunisia]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|v={{#switch:{{lc:{{{1|}}} }}
 
|v={{#switch:{{lc:{{{1|}}} }}
Line 289: Line 289:
 
   |venezuela        = [[Image:Ve.png| Venezuela|link=:Category:Venezuela]]
 
   |venezuela        = [[Image:Ve.png| Venezuela|link=:Category:Venezuela]]
 
   |vietnam          = [[Image:Vn.png| Vietnam|link=:Category:Vietnam]]
 
   |vietnam          = [[Image:Vn.png| Vietnam|link=:Category:Vietnam]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|w={{#switch:{{lc:{{{1|}}} }}
 
|w={{#switch:{{lc:{{{1|}}} }}
 
   |wa                = [[Image:Wa.gif| Wales|link=:Category:Wales]]
 
   |wa                = [[Image:Wa.gif| Wales|link=:Category:Wales]]
 
   |wales            = [[Image:Wa.gif| Wales|link=:Category:Wales]]
 
   |wales            = [[Image:Wa.gif| Wales|link=:Category:Wales]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|j={{#switch:{{lc:{{{1|}}} }}
 
|j={{#switch:{{lc:{{{1|}}} }}
 
   |jp                = [[Image:Jp.png| Japan|link=:Category:Japan]]
 
   |jp                = [[Image:Jp.png| Japan|link=:Category:Japan]]
 
   |japan            = [[Image:Jp.png| Japan|link=:Category:Japan]]
 
   |japan            = [[Image:Jp.png| Japan|link=:Category:Japan]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
|z={{#switch:{{lc:{{{1|}}} }}
 
|z={{#switch:{{lc:{{{1|}}} }}
Line 305: Line 305:
 
       |zw
 
       |zw
 
   |zimbabwe          = [[Image:Zw.png| Zimbabwe|link=:Category:Zimbabwe]]
 
   |zimbabwe          = [[Image:Zw.png| Zimbabwe|link=:Category:Zimbabwe]]
   |#default          = [[Image:Space_filler_flag.png]] [[Category:Unrecognised Flag]]
+
   |#default          = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]]
 
   }}
 
   }}
 
| [[Category:Unrecognised Flag]]
 
| [[Category:Unrecognised Flag]]

Revision as of 20:32, 7 September 2013

Template for flags.

Usage

{{flag|uk}}

yields United Kingdom

Available Flags

  • Australia Australia (au)
  • Canada Canada (ca)
  • England England (en)
  • Europe European Union (eu)
  • Finland Finland (fi)
  • France France (fr)
  • Germany Germany (de)
  • Ireland Ireland (ie)
  • Spain Spain (es)
  • Sweden Sweden (se)
  • United Kingdom United Kingdom (uk)
  • USA United States (us)
  • Wales Wales (wa)

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

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