Difference between revisions of "Template:Flag/doc"

From comp.tf
Jump to navigation Jump to search
m (Re-uploading)
m (Re-uploading)
Line 772: Line 772:
 
  | Federated States of Micronesia
 
  | Federated States of Micronesia
 
  | <code>micronesia</code>
 
  | <code>micronesia</code>
 +
|-
 +
| {{flag|md}}
 +
| <code>md</code>
 +
| Moldova
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|mc}}
 +
| <code>mc</code>
 +
| Monaco
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|mn}}
 +
| <code>mn</code>
 +
| Mongolia
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|me}}
 +
| <code>me</code>
 +
| Montenegro
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|ms}}
 +
| <code>ms</code>
 +
| Montserrat
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|ma}}
 +
| <code>ma</code>
 +
| Morocco
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|mz}}
 +
| <code>mz</code>
 +
| Mozambique
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|mm}}
 +
| <code>mm</code>
 +
| Myanmar
 +
| <code>burma</code>
 +
|-
 +
| {{flag|nagorno-karabakh}}
 +
|
 +
| Nagorno-Karabakh
 +
| <code>nagorno karabakh</code>
 +
|-
 +
| {{flag|na}}
 +
| <code>na</code>
 +
| Namibia
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|nr}}
 +
| <code>nr</code>
 +
| Nauru
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|np}}
 +
| <code>np</code>
 +
| Nepal
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|nl}}
 +
| <code>nl</code>
 +
| Netherlands
 +
| <code>the netherlands</code>
 +
|-
 +
| {{flag|nc}}
 +
| <code>nc</code>
 +
| New Caledonia
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|nz}}
 +
| <code>nz</code>
 +
| New Zealand
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|ni}}
 +
| <code>ni</code>
 +
| Nicaragua
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|ne}}
 +
| <code>ne</code>
 +
| Niger
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|ng}}
 +
| <code>ng</code>
 +
| Nigeria
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|nu}}
 +
| <code>nu</code>
 +
| Niue
 +
| style="background-color: #b2b2b2" |
 
|-
 
|-

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

Examples

You type You get
{{flag|Spain}} Spain
{{flag|es}} Spain
{{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
Key
United Nations recognised country
Unrecognised country
Geographical region or collectivity of countries
List of flags
Flag Abbr Full country name Alternate name/code
Template:Flag/abkhazia Abkhazia
Template:Flag/ax ax Aland aland islands
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
Australia au Australia
Austria at Austria
Azerbaijan az Azerbaijan
The Bahamas bs Bahamas 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 bosnia
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
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 cocos keeling islands
Colombia co Colombia
Democratic Republic of the Congo cd Democratic Republic of the Congo dr congo
Republic of the Congo cg Republic of the Congo congo
Template:Flag/ck ck Cook Islands
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
Denmark dk Denmark
Djibouti dj Djibouti
Dominica dm Dominica
Dominican Republic do Dominican Republic
Template:Flag/easter island Easter Island
East Timor tl East Timor timor-leste
Ecuador ec Ecuador
Egypt eg Egypt
El Salvador sv El Salvador
England en England uken
English Language usuk English Language ukus
Equatorial Guinea gq Equatorial Guinea
Eritrea er Eritrea
Estonia ee Estonia
Ethiopia et Ethiopia
Europe eu Europe European Union
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
Gabon ga Gabon
The Gambia gm Gambia the 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 guinea bissau
Guyana gy Guyana
Template:Flag/gnwww gnwww Guinea
Haiti ht Haiti
Template:Flag/herm Herm
Honduras hn Honduras
Hong Kong hk Hong Kong
Hungary hu Hungary
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 cote d'ivoire
Jamaica jm Jamaica
Japan jp Japan
Template:Flag/je je Jersey
Jordan jo Jordan
Kazakhstan kz Kazakhstan
Kenya ke Kenya
Kiribati ki Kiribati
Serbia rs Kosovo
Kuwait kw Kuwait
Kyrgyzstan kg Kyrgyzstan
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
Macau mo Macau macao
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 Federated States of Micronesia 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 burma
Template:Flag/nagorno-karabakh Nagorno-Karabakh nagorno karabakh
Namibia na Namibia
Nauru nr Nauru
Nepal np Nepal
Netherlands nl Netherlands the 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