Template:Flag

From MBComp Wiki
Jump to navigation Jump to 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}}
{{flag|aq}}
{{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.

Alternate abbreviations

These abbreviations are additional to those listed in the tables.

  • England
    England: en
  • 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
ax Aland
af Afghanistan
Albania
al Albania
Alderney
Algeria
dz Algeria
as American Samoa
Andorra
ad Andorra
ao Angola
ai Anguilla
aq Antarctica
ag Antigua and Barbuda
ar Argentina
am Armenia
aw Aruba
Australia
au Australia
Austria
at Austria
Azerbaijan
az Azerbaijan

D

Denmark
dk Denmark
dj Djibouti
dm Dominica
do Dominican Republic

G

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

J

Jamaica
jm Jamaica
jp Japan
je Jersey
jo Jordan

M

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

P

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

S

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

V

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

Y

Yemen
ye Yemen

B

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

E

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

H

ht Haiti
Herm
hn Honduras
hk Hong Kong
Hungary
hu Hungary

K

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

N

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

Q

qa Qatar

T

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

W

Wales
ukwa Wales

Z

Zambia
zm Zambia
Zimbabwe
zw Zimbabwe

C

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

F

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

I

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

L

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

O

om Oman
aunz Oceania

R

Rojava
Romania
ro Romania
Russia
ru Russia
rw Rwanda

U

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