|
|
Line 62: |
Line 62: |
| {{box|end}} | | {{box|end}} |
| === {{flag|uk}} <small>vs.</small> {{flag|uken}} {{flag|ukni}} {{flag|uksc}} {{flag|ukwa}} === | | === {{flag|uk}} <small>vs.</small> {{flag|uken}} {{flag|ukni}} {{flag|uksc}} {{flag|ukwa}} === |
− | The '''{{flag|uk}} United Kingdom''' flag should take preference in all circumstances except for when accompanying a city; e.g. {{flag|ukwa}} Cardiff. In this scenario the flags of '''{{flag|uken}} England''', '''{{flag|ukni}} Northern Ireland''', '''{{flag|uksc}} Scotland''', and '''{{flag|ukwa}} Wales''' should be used. | + | The '''{{flag|uk}} United Kingdom''' flag should take preference in all circumstances except for when accompanying a city (e.g. '''{{flag|ukwa}} Cardiff'''). In this scenario the flags of '''{{flag|uken}} England''', '''{{flag|ukni}} Northern Ireland''', '''{{flag|uksc}} Scotland''', and '''{{flag|ukwa}} Wales''' should be used. |
| {| class=wikitable style="width: 100%; text-align: center;" | | {| class=wikitable style="width: 100%; text-align: center;" |
| |[[Template:Flag#A | A]] · [[Template:Flag#B | B]] · [[Template:Flag#C | C]] · [[Template:Flag#D | D]] · [[Template:Flag#E | E]] · [[Template:Flag#F | F]] · [[Template:Flag#G | G]] · [[Template:Flag#H | H]] · [[Template:Flag#I | I]] · [[Template:Flag#J | J]] · [[Template:Flag#K | K]] · [[Template:Flag#L | L]] · [[Template:Flag#M | M]] · [[Template:Flag#N | N]] · [[Template:Flag#O | O]] · [[Template:Flag#P | P]] · [[Template:Flag#Q | Q]] · [[Template:Flag#R | R]] · [[Template:Flag#S | S]] · [[Template:Flag#T | T]] · [[Template:Flag#U | U]] · [[Template:Flag#V | V]] · [[Template:Flag#W | W]] · [[Template:Flag#X | X]] · [[Template:Flag#Y | Y]] · [[Template:Flag#Z | Z]] | | |[[Template:Flag#A | A]] · [[Template:Flag#B | B]] · [[Template:Flag#C | C]] · [[Template:Flag#D | D]] · [[Template:Flag#E | E]] · [[Template:Flag#F | F]] · [[Template:Flag#G | G]] · [[Template:Flag#H | H]] · [[Template:Flag#I | I]] · [[Template:Flag#J | J]] · [[Template:Flag#K | K]] · [[Template:Flag#L | L]] · [[Template:Flag#M | M]] · [[Template:Flag#N | N]] · [[Template:Flag#O | O]] · [[Template:Flag#P | P]] · [[Template:Flag#Q | Q]] · [[Template:Flag#R | R]] · [[Template:Flag#S | S]] · [[Template:Flag#T | T]] · [[Template:Flag#U | U]] · [[Template:Flag#V | V]] · [[Template:Flag#W | W]] · [[Template:Flag#X | X]] · [[Template:Flag#Y | Y]] · [[Template:Flag#Z | Z]] |
Revision as of 13:09, 14 May 2016
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
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.
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.
Key
|
United Nations recognised country or sovereign state
|
|
Unrecognised country or sovereign state
|
|
Geographical region or collectivity of countries or sovereign states
|
A
D
|
dk
|
Denmark
|
|
dj
|
Djibouti
|
|
dm
|
Dominica
|
|
do
|
Dominican Republic
|
G
J
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
V
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
K
|
kz
|
Kazakhstan
|
|
ke
|
Kenya
|
|
ki
|
Kiribati
|
|
xk
|
Kosovo
|
|
kw
|
Kuwait
|
|
kg
|
Kyrgyzstan
|
N
Q
|
qa
|
Qatar
|
T
W
|
ukwa
|
Wales
|
Z
|
zm
|
Zambia
|
|
zw
|
Zimbabwe
|
C
F
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
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
|
X