Template:Flag/doc
Template:Flag displays a flag icon that is 15px high and bordered. This template is used in conjunction with Template:Flag/Terms, which defines the terms that can be used in this template. All of the flag images used in this template can be found at Category:Flag Icons.
Usage
{{flag|name}}
name
This is the only parameter in the template and is used for defining which country's information should be used.
- The data entered here will provide the icon with its image and caption/tool tip text.
- Appropriate settings for this parameter are listed in the table below.
- Any text entered should be fully lowercase.
- Any special characters (å,é,ì,ô,ū) are not used as they conflict with the wiki's file retrieving system.
- If there is no setting or the setting is invalid (i.e. not listed in the table below) the template will display a placeholder flag, . This is used to keep alignment proper in other templates or to indicate an unknown country.
Examples
You type | You get | ||||
---|---|---|---|---|---|
{{flag|antarctica}}
|
Template:Flag/antarctica | ||||
{{flag|aq}}
|
Template:Flag/aq | ||||
{{flag|invalid}}
|
Template:Flag/invalid |
Valid settings
A flag can be displayed by either using a country's two letter abbreviation, another name for the country, or the full name of the country in the name parameter. An alternate list of two letter abbreviations for countries can be found here.
Alternate names
These names are additional to those listed in the tables.
- The Bahamas:
bahamas
- Cape Verde:
cabo verde
- East Timor:
timor-leste
- Gambia:
the gambia
- Ivory Coast:
cote d'ivoire
- Macau:
macao
- Oceania:
australasia
- Template:Flag/pn Pitcairn:
pitcairn islands
- United Nations:
global
,international
- United States:
united states of america
Alternate abbreviations
These abbreviations are additional to those listed in the tables.
- England:
en
- English Language:
ukus
- United Arab Emirates:
uae
- United Kingdom:
gb
- United States:
usa
- Wales:
wa
vs.
The United Kingdom flag should take preference in all circumstances except for when accompanying a city; e.g. Cardiff. In this scenario the flags of England, Northern Ireland, Scotland, and Wales should be used.
A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z |
United Nations recognised country or sovereign state | |
Unrecognised country or sovereign state | |
Geographical region or collectivity of countries or sovereign states |
A
Template:Flag/abkhazia | Abkhazia | |
Template:Flag/ax | ax
|
Aland |
af
|
Afghanistan | |
al
|
Albania | |
Template:Flag/alderney | Alderney | |
dz
|
Algeria | |
Template:Flag/as | as
|
American Samoa |
ad
|
Andorra | |
ao
|
Angola | |
Template:Flag/ai | ai
|
Anguilla |
Template:Flag/aq | aq
|
Antarctica |
ag
|
Antigua and Barbuda | |
ar
|
Argentina | |
am
|
Armenia | |
Template:Flag/aw | aw
|
Aruba |
aunz
|
Australasia | |
au
|
Australia | |
at
|
Austria | |
az
|
Azerbaijan |
D
dk
|
Denmark | |
dj
|
Djibouti | |
dm
|
Dominica | |
do
|
Dominican Republic |
G
ga
|
Gabon | |
gm
|
Gambia | |
ge
|
Georgia | |
de
|
Germany | |
gh
|
Ghana | |
Template:Flag/gi | gi
|
Gibraltar |
gr
|
Greece | |
gl
|
Greenland | |
gd
|
Grenada | |
Template:Flag/gu | gu
|
Guam |
gt
|
Guatemala | |
Template:Flag/gg | gg
|
Guernsey |
gn
|
Guinea | |
gw
|
Guinea-Bissau | |
gy
|
Guyana |
J
jm
|
Jamaica | |
jp
|
Japan | |
Template:Flag/je | je
|
Jersey |
jo
|
Jordan |
M
mo
|
Macau | |
mk
|
Macedonia | |
mg
|
Madagascar | |
mw
|
Malawi | |
my
|
Malaysia | |
mv
|
Maldives | |
ml
|
Mali | |
mt
|
Malta | |
mh
|
Marshall Islands | |
mr
|
Mauritania | |
mu
|
Mauritius | |
mx
|
Mexico | |
fm
|
Micronesia | |
md
|
Moldova | |
mc
|
Monaco | |
mn
|
Mongolia | |
me
|
Montenegro | |
Template:Flag/ms | ms
|
Montserrat |
ma
|
Morocco | |
mz
|
Mozambique | |
mm
|
Myanmar |
P
pk
|
Pakistan | |
pw
|
Palau | |
ps
|
Palestine | |
pa
|
Panama | |
pg
|
Papua New Guinea | |
py
|
Paraguay | |
pe
|
Peru | |
ph
|
Philippines | |
Template:Flag/pn | pn
|
Pitcairn |
pl
|
Poland | |
pt
|
Portugal | |
pr
|
Puerto Rico |
S
Template:Flag/sahrawi arab democratic republic | Sahrawi Arab Democratic Republic | |
kn
|
Saint Kitts and Nevis | |
lc
|
Saint Lucia | |
Template:Flag/mf | mf
|
Saint Martin |
vc
|
Saint Vincent and the Grenadines | |
ws
|
Samoa | |
sm
|
San Marino | |
st
|
Sao Tome and Principe | |
Template:Flag/sark | Sark | |
sa
|
Saudi Arabia | |
uksc
|
Scotland | |
sn
|
Senegal | |
rs
|
Serbia | |
sc
|
Seychelles | |
sl
|
Sierra Leone | |
sg
|
Singapore | |
Template:Flag/sx | sx
|
Sint Maarten |
sk
|
Slovakia | |
si
|
Slovenia | |
sb
|
Soloman Islands | |
so
|
Somalia | |
Template:Flag/somaliland | Somaliland | |
za
|
South Africa | |
sam
|
South America | |
Template:Flag/gs | gs
|
South Georgia and the South Sandwich Islands |
kr
|
South Korea | |
Template:Flag/south ossetia | South Ossetia | |
ss
|
South Sudan | |
es
|
Spain | |
lk
|
Sri Lanka | |
sd
|
Sudan | |
sr
|
Suriname | |
sz
|
Swaziland | |
se
|
Sweden | |
ch
|
Switzerland | |
sy
|
Syria |
V
vu
|
Vanuatu | |
va
|
Vatican City | |
ve
|
Venezuela | |
vn
|
Vietnam | |
Template:Flag/vg | vg
|
British Virgin Islands |
Template:Flag/vi | vi
|
United States Virgin Islands |
Y
ye
|
Yemen |
B
bs
|
The Bahamas | |
bh
|
Bahrain | |
bd
|
Bangladesh | |
bb
|
Barbados | |
by
|
Belarus | |
be
|
Belgium | |
bz
|
Belize | |
bj
|
Benin | |
Template:Flag/bm | bm
|
Bermuda |
bt
|
Bhutan | |
bo
|
Bolivia | |
ba
|
Bosnia and Herzegovina | |
bw
|
Botswana | |
br
|
Brazil | |
Template:Flag/io | io
|
British Indian Ocean Territory |
bn
|
Brunei | |
bg
|
Bulgaria | |
bf
|
Burkina Faso | |
bi
|
Burundi |
E
Template:Flag/easter island | Easter Island | |
tl
|
East Timor | |
ec
|
Ecuador | |
eg
|
Egypt | |
sv
|
El Salvador | |
uken
|
England | |
usuk
|
English Language | |
gq
|
Equatorial Guinea | |
er
|
Eritrea | |
ee
|
Estonia | |
et
|
Ethiopia | |
eu
|
Europe |
H
ht
|
Haiti | |
Template:Flag/herm | Herm | |
hn
|
Honduras | |
hk
|
Hong Kong | |
hu
|
Hungary |
K
kz
|
Kazakhstan | |
ke
|
Kenya | |
ki
|
Kiribati | |
xk
|
Kosovo | |
kw
|
Kuwait | |
kg
|
Kyrgyzstan |
N
Template:Flag/nagorno-karabakh | Nagorno-Karabakh | |
na
|
Namibia | |
nr
|
Nauru | |
np
|
Nepal | |
nl
|
Netherlands | |
Template:Flag/nc | nc
|
New Caledonia |
nz
|
New Zealand | |
ni
|
Nicaragua | |
ne
|
Niger | |
ng
|
Nigeria | |
Template:Flag/nu | nu
|
Niue |
Template:Flag/nf | nf
|
Norfolk Island |
nam
|
North America | |
kp
|
North Korea | |
Template:Flag/northern cyprus | Northern Cyprus | |
ukni
|
Northern Ireland | |
Template:Flag/mp | mp
|
Northern Mariana Islands |
no
|
Norway |
Q
qa
|
Qatar |
T
tw
|
Taiwan | |
tj
|
Tajikistan | |
tz
|
Tanzania | |
th
|
Thailand | |
tg
|
Togo | |
Template:Flag/tk | tk
|
Tokelau |
to
|
Tonga | |
Template:Flag/transnistria | Transnistria | |
tt
|
Trinidad and Tobago | |
tn
|
Tunisia | |
tr
|
Turkey | |
tm
|
Turkmenistan | |
Template:Flag/tc | tc
|
Turks and Caicos Islands |
tv
|
Tuvalu |
W
ukwa
|
Wales |
Z
zm
|
Zambia | |
zw
|
Zimbabwe |
C
kh
|
Cambodia | |
cm
|
Cameroon | |
ca
|
Canada | |
cv
|
Cape Verde | |
Template:Flag/ky | ky
|
Cayman Islands |
cf
|
Central African Republic | |
td
|
Chad | |
cl
|
Chile | |
cn
|
China | |
Template:Flag/cx | cx
|
Christmas Island |
Template:Flag/cc | cc
|
Cocos (Keeling) Islands |
co
|
Colombia | |
Template:Flag/ck | ck
|
Cook Islands |
cd
|
Democratic Republic of the Congo | |
cg
|
Republic of the Congo | |
cr
|
Costa Rica | |
hr
|
Croatia | |
cu
|
Cuba | |
Template:Flag/cw | cw
|
Curacao |
cy
|
Cyprus | |
Template:Flag/cyrenaica | Cyrenaica | |
cz
|
Czech Republic |
F
Template:Flag/fk | fk
|
Falkland Islands |
Template:Flag/fo | fo
|
Faroe Islands |
fj
|
Fiji | |
fi
|
Finland | |
fr
|
France | |
Template:Flag/pf | pf
|
French Polynesia |
I
is
|
Iceland | |
in
|
India | |
id
|
Indonesia | |
ir
|
Iran | |
iq
|
Iraq | |
ie
|
Ireland | |
Template:Flag/im | im
|
Isle of Man |
il
|
Israel | |
it
|
Italy | |
ci
|
Ivory Coast |
L
la
|
Laos | |
lv
|
Latvia | |
lb
|
Lebanon | |
ls
|
Lesotho | |
lr
|
Liberia | |
ly
|
Libya | |
li
|
Liechtenstein | |
lt
|
Lithuania | |
lu
|
Luxembourg |
O
om
|
Oman |
R
Template:Flag/rojava | Rojava | |
ro
|
Romania | |
ru
|
Russia | |
rw
|
Rwanda |
U
ug
|
Uganda | |
1zqjex'"(){}<x>:/1zqjex;9 | ua
|
Ukraine |
Template:Flag/unasur | UNASUR | |
ae
|
United Arab Emirates | |
uk
|
United Kingdom | |
un
|
United Nations | |
us
|
United States | |
|
Unknown | |
uy
|
Uruguay | |
uz
|
Uzbekistan |