Template:Flag/doc
Template:Flag displays a parameter defined 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. Any text entered should be fully lowercase. Appropriate settings for this parameter are listed in the table below. 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|Spain}}
|
|||||
{{flag|es}}
|
|||||
{{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.
- Any special characters (å,é,ì,ô,ū) are not used as they conflict with the wiki's file retrieving system.
- An alternate list of two letter abbreviations for countries can be found here
United Nations recognised country | |
Unrecognised country | |
Geographical region or collectivity of countries |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
Template:Flag/abkhazia | Abkhazia | ||
Template:Flag/ax | ax
|
Aland | aland islands
|
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 | |
au
|
Australia | ||
at
|
Austria | ||
az
|
Azerbaijan |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
bs
|
Bahamas | 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 | bosnia
| |
bw
|
Botswana | ||
br
|
Brazil | ||
Template:Flag/io | io
|
British Indian Ocean Territory | |
bn
|
Brunei | ||
bg
|
Bulgaria | ||
bf
|
Burkina Faso | ||
bi
|
Burundi |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
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 | cocos keeling islands
|
co
|
Colombia | ||
cd
|
Democratic Republic of the Congo | dr congo
| |
cg
|
Republic of the Congo | congo
| |
Template:Flag/ck | ck
|
Cook Islands | |
cr
|
Costa Rica | ||
hr
|
Croatia | ||
cu
|
Cuba | ||
Template:Flag/cw | cw
|
Curacao | |
cy
|
Cyprus | ||
Template:Flag/cyrenaica | Cyrenaica | ||
cz
|
Czech Republic |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
dk
|
Denmark | ||
dj
|
Djibouti | ||
dm
|
Dominica | ||
do
|
Dominican Republic |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
Template:Flag/easter island | Easter Island | ||
tl
|
East Timor | timor-leste
| |
ec
|
Ecuador | ||
eg
|
Egypt | ||
sv
|
El Salvador | ||
en
|
England | uken
| |
usuk
|
English Language | ukus
| |
gq
|
Equatorial Guinea | ||
er
|
Eritrea | ||
ee
|
Estonia | ||
et
|
Ethiopia | ||
eu
|
Europe | European Union
|
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
Template:Flag/fk | fk
|
Falkland Islands | |
Template:Flag/fo | fo
|
Faroe Islands | |
fj
|
Fiji | ||
fi
|
Finland | ||
fr
|
France | ||
Template:Flag/pf | pf
|
French Polynesia |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
ga
|
Gabon | ||
gm
|
Gambia | the 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 | guinea bissau
| |
gy
|
Guyana | ||
Template:Flag/gnwww | gnwww
|
Guinea |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
ht
|
Haiti | ||
Template:Flag/herm | Herm | ||
hn
|
Honduras | ||
hk
|
Hong Kong | ||
hu
|
Hungary |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
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 | cote d'ivoire |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
jm
|
Jamaica | ||
jp
|
Japan | ||
Template:Flag/je | je
|
Jersey | |
jo
|
Jordan |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
kz
|
Kazakhstan | ||
ke
|
Kenya | ||
ki
|
Kiribati | ||
rs
|
Kosovo | ||
kw
|
Kuwait | ||
kg
|
Kyrgyzstan |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
la
|
Laos | ||
lv
|
Latvia | ||
lb
|
Lebanon | ||
ls
|
Lesotho | ||
lr
|
Liberia | ||
ly
|
Libya | ||
li
|
Liechtenstein | ||
lt
|
Lithuania | ||
lu
|
Luxembourg |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
mo
|
Macau | macao
| |
mk
|
Macedonia | ||
mg
|
Madagascar | ||
mw
|
Malawi | ||
my
|
Malaysia | ||
mv
|
Maldives | ||
ml
|
Mali | ||
mt
|
Malta | ||
mh
|
Marshall Islands | ||
mr
|
Mauritania | ||
mu
|
Mauritius | ||
mx
|
Mexico | ||
fm
|
Federated States of Micronesia | micronesia
| |
md
|
Moldova | ||
mc
|
Monaco | ||
mn
|
Mongolia | ||
me
|
Montenegro | ||
Template:Flag/ms | ms
|
Montserrat | |
ma
|
Morocco | ||
mz
|
Mozambique | ||
mm
|
Myanmar | burma
|
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
Template:Flag/nagorno-karabakh | Nagorno-Karabakh | nagorno karabakh
| |
na
|
Namibia | ||
nr
|
Nauru | ||
np
|
Nepal | ||
nl
|
Netherlands | the 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 | north american
| |
kp
|
North Korea | ||
Template:Flag/northern cyprus | Northern Cyprus | ||
ukni
|
Northern Ireland | ||
Template:Flag/mp | mp
|
Northern Mariana Islands | commonwealth of the northern mariana islands
|
no
|
Norway |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
om
|
Oman |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
pk
|
Pakistan | ||
pw
|
Palau | ||
ps
|
Palestine | ||
pa
|
Panama | ||
pg
|
Papua New Guinea | ||
py
|
Paraguay | ||
pe
|
Peru | ||
ph
|
Philippines | ||
Template:Flag/pn | pn
|
Pitcairn | pitcairn islands
|
pl
|
Poland | ||
pt
|
Portugal | ||
pr
|
Puerto Rico |
Flag | Abbr | Full country name | Alternate name/code |
---|---|---|---|
qa
|
Qatar |