Difference between revisions of "Template:Flag/doc"
m (Re-uploading) |
m (Re-uploading) |
||
Line 260: | Line 260: | ||
| <code>ky</code> | | <code>ky</code> | ||
| style="background-color: #ffeae6" | Cayman Islands | | style="background-color: #ffeae6" | Cayman Islands | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | |||
+ | | {{flag|cf}} | ||
+ | | <code>cf</code> | ||
+ | | Central African Republic | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|td}} | ||
+ | | <code>td</code> | ||
+ | | Chad | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cl}} | ||
+ | | <code>cl</code> | ||
+ | | Chile | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cn}} | ||
+ | | <code>cn</code> | ||
+ | | China | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cx}} | ||
+ | | <code>cx</code> | ||
+ | | Christmas Island | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cc}} | ||
+ | | <code>cc</code> | ||
+ | | style="background-color: #ffeae6" | Cocos (Keeling) Islands | ||
+ | | style="background-color: #ffeae6" | <code>cocos keeling islands</code> | ||
+ | |- | ||
+ | | {{flag|co}} | ||
+ | | <code>co</code> | ||
+ | | Colombia | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cd}} | ||
+ | | <code>cd</code> | ||
+ | | Democratic Republic of the Congo | ||
+ | | <code>dr congo</code> | ||
+ | |- | ||
+ | | {{flag|cg}} | ||
+ | | <code>cg</code> | ||
+ | | Republic of the Congo | ||
+ | | <code>congo</code> | ||
+ | |- | ||
+ | | {{flag|ck}} | ||
+ | | <code>ck</code> | ||
+ | | style="background-color: #ffeae6" | Cook Islands | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cr}} | ||
+ | | <code>cr</code> | ||
+ | | Costa Rica | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|hr}} | ||
+ | | <code>hr</code> | ||
+ | | Croatia | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cu}} | ||
+ | | <code>cu</code> | ||
+ | | Cuba | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cw}} | ||
+ | | <code>cw</code> | ||
+ | | style="background-color: #ffeae6" | Curacao | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cy}} | ||
+ | | <code>cy</code> | ||
+ | | Cyprus | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cyrenaica}} | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | | style="background-color: #ffeae6" | Cyrenaica | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|cz}} | ||
+ | | <code>cz</code> | ||
+ | | Czech Republic | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|dk}} | ||
+ | | <code>dk</code> | ||
+ | | Denmark | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|dj}} | ||
+ | | <code>dj</code> | ||
+ | | Djibouti | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|dm}} | ||
+ | | <code>dm</code> | ||
+ | | Dominica | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|do}} | ||
+ | | <code>do</code> | ||
+ | | Dominican Republic | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|easter island}} | ||
+ | | | ||
+ | | Easter Island | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|tl}} | ||
+ | | <code>tl</code> | ||
+ | | East Timor | ||
+ | | <code>timor-leste</code> | ||
+ | |- | ||
+ | | {{flag|ec}} | ||
+ | | <code>ec</code> | ||
+ | | Ecuador | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|eg}} | ||
+ | | <code>eg</code> | ||
+ | | Egypt | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|sv}} | ||
+ | | <code>sv</code> | ||
+ | | El Salvador | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|en}} | ||
+ | | <code>en</code> | ||
+ | | England | ||
+ | | <code>uken</code> | ||
+ | |- | ||
+ | | {{flag|usuk}} | ||
+ | | <code>usuk</code> | ||
+ | | English Language | ||
+ | | <code>ukus</code> | ||
+ | |- | ||
+ | | {{flag|gq}} | ||
+ | | <code>gq</code> | ||
+ | | Equatorial Guinea | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|er}} | ||
+ | | <code>er</code> | ||
+ | | Eritrea | ||
+ | | style="background-color: #b2b2b2" | | ||
+ | |- | ||
+ | | {{flag|ee}} | ||
+ | | <code>ee</code> | ||
+ | | Estonia | ||
| style="background-color: #b2b2b2" | | | style="background-color: #b2b2b2" | | ||
|- | |- |
Revision as of 07:41, 19 March 2016
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 | ||
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 | ||
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 | ||
dk
|
Denmark | ||
dj
|
Djibouti | ||
dm
|
Dominica | ||
do
|
Dominican Republic | ||
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 |