Template:Flag

From Comp.tf
Jump to: navigation, search

(view - edit) Documentation

Template:Flag displays a flag icon that is 15px high and bordered. This template is used in conjunction with Template:Flag/abbr, 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 Images.

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,
    Unknown
    . This is used to keep alignment proper in other templates or to indicate an unknown country.

Examples

You type You get
{{flag|antarctica}}
Antarctica
{{flag|aq}}
Antarctica
{{flag|invalid}}
Unknown

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
    The Bahamas: bahamas
  • Cape Verde
    Cape Verde: cabo verde
  • East Timor
    East Timor: timor-leste
  • Gabon
    Gambia: the gambia
  • Ivory Coast
    Ivory Coast: cote d'ivoire
  • Macau
    Macau: macao
  • Oceania
    Oceania: australasia
  • Pitcairn
    Pitcairn: pitcairn islands
  • United Nations
    United Nations: global, international
  • United States
    United States: united states of america

Alternate abbreviations

These abbreviations are additional to those listed in the tables.

  • England
    England: en
  • English Language
    English Language: ukus
  • United Arab Emirates
    United Arab Emirates: uae
  • United Kingdom
    United Kingdom: gb
  • United States
    United States: usa
  • Wales
    Wales: wa

England
Northern Ireland
Scotland
Wales
vs.
United Kingdom

The individual flags of
England
England
,
Northern Ireland
Northern Ireland
,
Scotland
Scotland
, and
Wales
Wales
should take preference in all possible circumstances over the
United Kingdom
United Kingdom
flag.
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
Key
United Nations recognised country or sovereign state
Unrecognised country or sovereign state
Geographical region or collectivity of countries or sovereign states

A

Flag Abbr Full name
Abkhazia
Abkhazia
Aland
ax Aland
Afghanistan
af Afghanistan
Albania
al Albania
Alderney
Alderney
Algeria
dz Algeria
American Samoa
as American Samoa
Andorra
ad Andorra
Angola
ao Angola
Anguilla
ai Anguilla
Antarctica
aq Antarctica
Antigua and Barbuda
ag Antigua and Barbuda
Argentina
ar Argentina
Armenia
am Armenia
Aruba
aw Aruba
Australia
au Australia
Austria
at Austria
Azerbaijan
az Azerbaijan

D

Denmark
dk Denmark
Djibouti
dj Djibouti
Dominica
dm Dominica
Dominican Republic
do Dominican Republic

G

Gabon
ga Gabon
Gambia
gm Gambia
Georgia
ge Georgia
Germany
de Germany
Ghana
gh Ghana
Gibraltar
gi Gibraltar
Greece
gr Greece
Greenland
gl Greenland
Grenada
gd Grenada
Guam
gu Guam
Guatemala
gt Guatemala
Guernsey
gg Guernsey
Guinea
gn Guinea
Guinea-Bissau
gw Guinea-Bissau
Guyana
gy Guyana

J

Jamaica
jm Jamaica
Japan
jp Japan
Jersey
je Jersey
Jordan
jo Jordan

M

Macau
mo Macau
Macedonia
mk Macedonia
Madagascar
mg Madagascar
Malawi
mw Malawi
Malaysia
my Malaysia
Maldives
mv Maldives
Mali
ml Mali
Malta
mt Malta
Marshall Islands
mh Marshall Islands
Mauritania
mr Mauritania
Mauritius
mu Mauritius
Mexico
mx Mexico
Micronesia
fm Micronesia
Moldova
md Moldova
Monaco
mc Monaco
Mongolia
mn Mongolia
Montenegro
me Montenegro
Montserrat
ms Montserrat
Morocco
ma Morocco
Mozambique
mz Mozambique
Myanmar
mm Myanmar

P

Pakistan
pk Pakistan
Palau
pw Palau
Palestine
ps Palestine
Panama
pa Panama
Papua New Guinea
pg Papua New Guinea
Paraguay
py Paraguay
Peru
pe Peru
Philippines
ph Philippines
Pitcairn
pn Pitcairn
Poland
pl Poland
Portugal
pt Portugal
Puerto Rico
pr Puerto Rico

S

Sahrawi Arab Democratic Republic
Sahrawi Arab
Democratic Republic
Saint Kitts and Nevis
kn Saint Kitts and Nevis
Saint Lucia
lc Saint Lucia
Saint Martin
mf Saint Martin
Saint Vincent and the Grenadines
vc Saint Vincent and
the Grenadines
Samoa
ws Samoa
San Marino
sm San Marino
Sao Tome and Principe
st Sao Tome and Principe
Sark
Sark
Saudi Arabia
sa Saudi Arabia
Scotland
uksc Scotland
Senegal
sn Senegal
Serbia
rs Serbia
Seychelles
sc Seychelles
Sierra Leone
sl Sierra Leone
Singapore
sg Singapore
Sint Maarten
sx Sint Maarten
Slovakia
sk Slovakia
Slovenia
si Slovenia
Solomon Islands
sb Soloman Islands
Somalia
so Somalia
Somaliland
Somaliland
South Africa
za South Africa
South Georgia and the South Sandwich Islands
gs South Georgia and the
South Sandwich Islands
South Korea
kr South Korea
South Ossetia
South Ossetia
South Sudan
ss South Sudan
Spain
es Spain
Sri Lanka
lk Sri Lanka
Sudan
sd Sudan
Suriname
sr Suriname
Swaziland
sz Swaziland
Sweden
se Sweden
Switzerland
ch Switzerland
Syria
sy Syria

V

Vanuatu
vu Vanuatu
Vatican City
va Vatican City
Venezuela
ve Venezuela
Vietnam
vn Vietnam
British Virgin Islands
vg British Virgin Islands
United States Virgin Islands
vi United States Virgin Islands

Y

Yemen
ye Yemen

B

Flag Abbr Full name
The Bahamas
bs The Bahamas
Bahrain
bh Bahrain
Bangladesh
bd Bangladesh
Barbados
bb Barbados
Belarus
by Belarus
Belgium
be Belgium
Belize
bz Belize
Benin
bj Benin
Bermuda
bm Bermuda
Bhutan
bt Bhutan
Bolivia
bo Bolivia
Bosnia and Herzegovina
ba Bosnia and Herzegovina
Botswana
bw Botswana
Brazil
br Brazil
British Indian Ocean Territory
io British Indian Ocean Territory
Brunei
bn Brunei
Bulgaria
bg Bulgaria
Burkina Faso
bf Burkina Faso
Burundi
bi Burundi

E

Easter Island
Easter Island
East Timor
tl East Timor
Ecuador
ec Ecuador
Egypt
eg Egypt
El Salvador
sv El Salvador
England
uken England
English Language
usuk English Language
Equatorial Guinea
gq Equatorial Guinea
Eritrea
er Eritrea
Estonia
ee Estonia
Ethiopia
et Ethiopia
Europe
eu Europe

H

Haiti
ht Haiti
Herm
Herm
Honduras
hn Honduras
Hong Kong
hk Hong Kong
Hungary
hu Hungary

K

Kazakhstan
kz Kazakhstan
Kenya
ke Kenya
Kiribati
ki Kiribati
Kosovo
xk Kosovo
Kuwait
kw Kuwait
Kyrgyzstan
kg Kyrgyzstan

N

Nagorno-Karabakh
Nagorno-Karabakh
Namibia
na Namibia
Nauru
nr Nauru
Nepal
np Nepal
Netherlands
nl Netherlands
New Caledonia
nc New Caledonia
New Zealand
nz New Zealand
Nicaragua
ni Nicaragua
Niger
ne Niger
Nigeria
ng Nigeria
Niue
nu Niue
Norfolk Island
nf Norfolk Island
North America
nam North America
North Korea
kp North Korea
Northern Cyprus
Northern Cyprus
Northern Ireland
ukni Northern Ireland
Northern Mariana Islands
mp Northern Mariana Islands
Norway
no Norway

Q

Qatar
qa Qatar

T

Taiwan
tw Taiwan
Tajikistan
tj Tajikistan
Tanzania
tz Tanzania
Thailand
th Thailand
Togo
tg Togo
Tokelau
tk Tokelau
Tonga
to Tonga
Transnistria
Transnistria
Trinidad and Tobago
tt Trinidad and Tobago
Tunisia
tn Tunisia
Turkey
tr Turkey
Turkmenistan
tm Turkmenistan
Turks and Caicos Islands
tc Turks and Caicos Islands
Tuvalu
tv Tuvalu

W

Wales
ukwa Wales

Z

Zambia
zm Zambia
Zimbabwe
zw Zimbabwe

C

Flag Abbr Full name
Cambodia
kh Cambodia
Cameroon
cm Cameroon
Canada
ca Canada
Cape Verde
cv Cape Verde
Cayman Islands
ky Cayman Islands
Central African Republic
cf Central African Republic
Chad
td Chad
Chile
cl Chile
China
cn China
Christmas Island
cx Christmas Island
Cocos (Keeling) Islands
cc Cocos (Keeling) Islands
Colombia
co Colombia
Cook Islands
ck Cook Islands
Democratic Republic of the Congo
cd Democratic Republic of the Congo
Republic of the Congo
cg Republic of the Congo
Costa Rica
cr Costa Rica
Croatia
hr Croatia
Cuba
cu Cuba
Curacao
cw Curacao
Cyprus
cy Cyprus
Cyrenaica
Cyrenaica
Czech Republic
cz Czech Republic

F

Falkland Islands
fk Falkland Islands
Faroe Islands
fo Faroe Islands
Fiji
fj Fiji
Finland
fi Finland
France
fr France
French Polynesia
pf French Polynesia

I

Iceland
is Iceland
India
in India
Indonesia
id Indonesia
Iran
ir Iran
Iraq
iq Iraq
Ireland
ie Ireland
Isle of Man
im Isle of Man
Israel
il Israel
Italy
it Italy
Ivory Coast
ci Ivory Coast

L

Laos
la Laos
Latvia
lv Latvia
Lebanon
lb Lebanon
Lesotho
ls Lesotho
Liberia
lr Liberia
Libya
ly Libya
Liechtenstein
li Liechtenstein
Lithuania
lt Lithuania
Luxembourg
lu Luxembourg

O

Oman
om Oman
Oceania
aunz Oceania

R

Rojava
Rojava
Romania
ro Romania
Russia
ru Russia
Rwanda
rw Rwanda

U

Uganda
ug Uganda
Ukraine
ua Ukraine
UNASUR
UNASUR
United Arab Emirates
ae United Arab Emirates
United Kingdom
uk United Kingdom
United Nations
un United Nations
United States
us United States
Unknown
Unknown
Uruguay
uy Uruguay
Uzbekistan
uz Uzbekistan

X