Difference between revisions of "Template:Flag/doc"

From comp.tf
Jump to navigation Jump to search
m
m
Line 81: Line 81:
 
|}
 
|}
 
{{Box|start|padding=1em}}
 
{{Box|start|padding=1em}}
{|
 
 
{{Template:Flag/doc/a}}
 
{{Template:Flag/doc/a}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/b}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/c}}
 +
{{Box|break|padding=1em}}
 
{{Template:Flag/doc/d}}
 
{{Template:Flag/doc/d}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/e}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/f}}
 +
{{Box|break|padding=1em}}
 
{{Template:Flag/doc/g}}
 
{{Template:Flag/doc/g}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/h}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/i}}
 +
{{Box|break|padding=1em}}
 
{{Template:Flag/doc/j}}
 
{{Template:Flag/doc/j}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/k}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/l}}
 +
{{Box|break|padding=1em}}
 
{{Template:Flag/doc/m}}
 
{{Template:Flag/doc/m}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/n}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/o}}
 +
{{Box|break|padding=1em}}
 
{{Template:Flag/doc/p}}
 
{{Template:Flag/doc/p}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/q}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/r}}
 +
{{Box|break|padding=1em}}
 
{{Template:Flag/doc/s}}
 
{{Template:Flag/doc/s}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/t}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/u}}
 +
{{Box|break|padding=1em}}
 
{{Template:Flag/doc/v}}
 
{{Template:Flag/doc/v}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/w}}
 +
{{Box|break|padding=1em}}
 +
{{Template:Flag/doc/x}}
 +
{{Box|break|padding=1em}}
 
{{Template:Flag/doc/y}}
 
{{Template:Flag/doc/y}}
|}
 
 
{{Box|break|padding=1em}}
 
{{Box|break|padding=1em}}
{|
 
{{Template:Flag/doc/b}}
 
{{Template:Flag/doc/e}}
 
{{Template:Flag/doc/h}}
 
{{Template:Flag/doc/k}}
 
{{Template:Flag/doc/n}}
 
{{Template:Flag/doc/q}}
 
{{Template:Flag/doc/t}}
 
{{Template:Flag/doc/w}}
 
 
{{Template:Flag/doc/z}}
 
{{Template:Flag/doc/z}}
|}
 
 
{{Box|break|padding=1em}}
 
{{Box|break|padding=1em}}
{|
 
{{Template:Flag/doc/c}}
 
{{Template:Flag/doc/f}}
 
{{Template:Flag/doc/i}}
 
{{Template:Flag/doc/l}}
 
{{Template:Flag/doc/o}}
 
{{Template:Flag/doc/r}}
 
{{Template:Flag/doc/u}}
 
{{Template:Flag/doc/x}}
 
|}
 
 
{{Box|end}}
 
{{Box|end}}
 
<noinclude>[[Category:Flag Documentation Templates]]</noinclude>
 
<noinclude>[[Category:Flag Documentation Templates]]</noinclude>

Revision as of 10:21, 6 March 2017

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}} Template:Flag/antarctica
{{flag|aq}} Template:Flag/aq
{{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. 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
  • Côte d'Ivoire Ivory Coast: cote d'ivoire
  • Macau Macau: macao
  • Oceania Oceania: australasia
  • Template:Flag/pn 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

Template:Flag/abkhazia Abkhazia
Template:Flag/ax ax Aland
Afghanistan af Afghanistan
Albania al Albania
Template:Flag/alderney Alderney
Algeria dz Algeria
Template:Flag/as as American Samoa
Andorra ad Andorra
Angola ao Angola
Template:Flag/ai ai Anguilla
Template:Flag/aq aq Antarctica
Antigua and Barbuda ag Antigua and Barbuda
Argentina ar Argentina
Armenia am Armenia
Template:Flag/aw aw Aruba
Oceania aunz Australasia
Australia au Australia
Austria at Austria
Azerbaijan az Azerbaijan

B

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
Template:Flag/bm bm Bermuda
Bhutan bt Bhutan
Bolivia bo Bolivia
Bosnia and Herzegovina ba Bosnia and Herzegovina
Botswana bw Botswana
Brazil br Brazil
Template:Flag/io io British Indian Ocean Territory
Brunei bn Brunei
Bulgaria bg Bulgaria
Burkina Faso bf Burkina Faso
Burundi bi Burundi

C

Cambodia kh Cambodia
Cameroon cm Cameroon
Canada ca Canada
Cape Verde cv Cape Verde
Template:Flag/ky ky Cayman Islands
Central African Republic cf Central African Republic
Chad td Chad
Chile cl Chile
China cn China
Template:Flag/cx cx Christmas Island
Template:Flag/cc cc Cocos (Keeling) Islands
Colombia co Colombia
Template:Flag/ck 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
Template:Flag/cw cw Curacao
Cyprus cy Cyprus
Template:Flag/cyrenaica Cyrenaica
Czech Republic cz Czech Republic

D

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

E

Template:Flag/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

F

Template:Flag/fk fk Falkland Islands
Template:Flag/fo fo Faroe Islands
Fiji fj Fiji
Finland fi Finland
France fr France
Template:Flag/pf pf French Polynesia

G

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

H

Haiti ht Haiti
Template:Flag/herm Herm
Honduras hn Honduras
Hong Kong hk Hong Kong
Hungary hu Hungary

I

Iceland is Iceland
India in India
Indonesia id Indonesia
Iran ir Iran
Iraq iq Iraq
Ireland ie Ireland
Template:Flag/im im Isle of Man
Israel il Israel
Italy it Italy
Côte d'Ivoire ci Ivory Coast

J

Jamaica jm Jamaica
Japan jp Japan
Template:Flag/je je Jersey
Jordan jo Jordan

K

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

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

M

Macau mo Macau
North 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
Template:Flag/ms ms Montserrat
Morocco ma Morocco
Mozambique mz Mozambique
Myanmar mm Myanmar

N

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

O

Oman om Oman

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
Template:Flag/pn pn Pitcairn
Poland pl Poland
Portugal pt Portugal
Puerto Rico pr Puerto Rico

Q

Qatar qa Qatar

R

Template:Flag/rojava Rojava
Romania ro Romania
Russia ru Russia
Rwanda rw Rwanda

S

Template:Flag/sahrawi arab democratic republic Sahrawi Arab
Democratic Republic
Saint Kitts and Nevis kn Saint Kitts and Nevis
Saint Lucia lc Saint Lucia
Template:Flag/mf 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
Template:Flag/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
Template:Flag/sx sx Sint Maarten
Slovakia sk Slovakia
Slovenia si Slovenia
Solomon Islands sb Soloman Islands
Somalia so Somalia
Template:Flag/somaliland Somaliland
South Africa za South Africa
South America sam South America
Template:Flag/gs gs South Georgia and the
South Sandwich Islands
South Korea kr South Korea
Template:Flag/south ossetia South Ossetia
South Sudan ss South Sudan
Spain es Spain
Sri_Lanka lk Sri Lanka
Sudan sd Sudan
Suriname sr Suriname
Eswatini sz Swaziland
Sweden se Sweden
Switzerland ch Switzerland
Syria sy Syria

T

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

U

Uganda ug Uganda
1zqjex'"(){}<x>:/1zqjex;9 ua Ukraine
Template:Flag/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

V

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

W

Wales ukwa Wales

X

Y

Yemen ye Yemen

Z

Zambia zm Zambia
Zimbabwe zw Zimbabwe