Difference between revisions of "Template:Flag/doc"

From comp.tf
Jump to navigation Jump to search
m (Re-uploading)
m (Re-uploading)
Line 46: Line 46:
 
|}
 
|}
 
{| class=wikitable style="text-align: center"
 
{| class=wikitable style="text-align: center"
|+ List of flags
+
|+ A
 
  ! style="color: white; background-color: #1c1c1c;" | Flag
 
  ! style="color: white; background-color: #1c1c1c;" | Flag
 
  ! style="color: white; background-color: #1c1c1c;" | {{Abbr|Abbr|Abbreviation}}
 
  ! style="color: white; background-color: #1c1c1c;" | {{Abbr|Abbr|Abbreviation}}
Line 141: Line 141:
 
  | Azerbaijan
 
  | Azerbaijan
 
  | style="background-color: #b2b2b2" |
 
  | style="background-color: #b2b2b2" |
 +
|}
 +
{| class=wikitable style="text-align: center"
 +
|+ B
 +
! style="color: white; background-color: #1c1c1c;" | Flag
 +
! style="color: white; background-color: #1c1c1c;" | {{Abbr|Abbr|Abbreviation}}
 +
! style="color: white; background-color: #1c1c1c;" | Full country name
 +
! style="color: white; background-color: #1c1c1c;" | Alternate name/code
 
|-
 
|-
 
  | {{flag|bs}}
 
  | {{flag|bs}}
Line 236: Line 243:
 
  | Burundi
 
  | Burundi
 
  | style="background-color: #b2b2b2" |
 
  | style="background-color: #b2b2b2" |
 +
|}
 +
{| class=wikitable style="text-align: center"
 +
|+ C
 +
! style="color: white; background-color: #1c1c1c;" | Flag
 +
! style="color: white; background-color: #1c1c1c;" | {{Abbr|Abbr|Abbreviation}}
 +
! style="color: white; background-color: #1c1c1c;" | Full country name
 +
! style="color: white; background-color: #1c1c1c;" | Alternate name/code
 
|-
 
|-
 
  | {{flag|kh}}
 
  | {{flag|kh}}
Line 262: Line 276:
 
  | style="background-color: #b2b2b2" |
 
  | style="background-color: #b2b2b2" |
 
|-
 
|-
 
 
  | {{flag|cf}}
 
  | {{flag|cf}}
 
  | <code>cf</code>
 
  | <code>cf</code>
Line 347: Line 360:
 
  | Czech Republic
 
  | Czech Republic
 
  | style="background-color: #b2b2b2" |
 
  | 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" |
 
|-
 
| {{flag|et}}
 
| <code>et</code>
 
| Ethiopia
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|eu}}
 
| <code>eu</code>
 
| Europe
 
| <code>European Union</code>
 
|-
 
| {{flag|fk}}
 
| <code>fk</code>
 
| Falkland Islands
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|fo}}
 
| <code>fo</code>
 
| Faroe Islands
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|fj}}
 
| <code>fj</code>
 
| Fiji
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|fi}}
 
| <code>fi</code>
 
| Finland
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|fr}}
 
| <code>fr</code>
 
| France
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|pf}}
 
| <code>pf</code>
 
| French Polynesia
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ga}}
 
| <code>ga</code>
 
| Gabon
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gm}}
 
| <code>gm</code>
 
| Gambia
 
| <code>the gambia</code>
 
|-
 
| {{flag|ge}}
 
| <code>ge</code>
 
| Georgia
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|de}}
 
| <code>de</code>
 
| Germany
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gh}}
 
| <code>gh</code>
 
| Ghana
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gi}}
 
| <code>gi</code>
 
| Gibraltar
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gr}}
 
| <code>gr</code>
 
| Greece
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gl}}
 
| <code>gl</code>
 
| Greenland
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gd}}
 
| <code>gd</code>
 
| Grenada
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gu}}
 
| <code>gu</code>
 
| Guam
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gt}}
 
| <code>gt</code>
 
| Guatemala
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gg}}
 
| <code>gg</code>
 
| Guernsey
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gn}}
 
| <code>gn</code>
 
| Guinea
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gw}}
 
| <code>gw</code>
 
| Guinea-Bissau
 
| <code>guinea bissau</code>
 
|-
 
| {{flag|gy}}
 
| <code>gy</code>
 
| Guyana
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|gnwww}}
 
| <code>gnwww</code>
 
| Guinea
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ht}}
 
| <code>ht</code>
 
| Haiti
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|herm}}
 
|
 
| Herm
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|hn}}
 
| <code>hn</code>
 
| Honduras
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|hk}}
 
| <code>hk</code>
 
| Hong Kong
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|hu}}
 
| <code>hu</code>
 
| Hungary
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|is}}
 
| <code>is</code>
 
| Iceland
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|in}}
 
| <code>in</code>
 
| India
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|id}}
 
| <code>id</code>
 
| Indonesia
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ir}}
 
| <code>ir</code>
 
| Iran
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|iq}}
 
| <code>iq</code>
 
| Iraq
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ie}}
 
| <code>ie</code>
 
| Ireland
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|im}}
 
| <code>im</code>
 
| Isle of Man
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|il}}
 
| <code>il</code>
 
| Israel
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|it}}
 
| <code>it</code>
 
| Italy
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ci}}
 
| <code>ci</code>
 
| Ivory Coast
 
| style="background-color: #b2b2b2" | cote d'ivoire
 
|-
 
| {{flag|jm}}
 
| <code>jm</code>
 
| Jamaica
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|jp}}
 
| <code>jp</code>
 
| Japan
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|je}}
 
| <code>je</code>
 
| Jersey
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|jo}}
 
| <code>jo</code>
 
| Jordan
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|kz}}
 
| <code>kz</code>
 
| Kazakhstan
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ke}}
 
| <code>ke</code>
 
| Kenya
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ki}}
 
| <code>ki</code>
 
| Kiribati
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|rs}}
 
| <code>rs</code>
 
| Kosovo
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|kw}}
 
| <code>kw</code>
 
| Kuwait
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|kg}}
 
| <code>kg</code>
 
| Kyrgyzstan
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|la}}
 
| <code>la</code>
 
| Laos
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|lv}}
 
| <code>lv</code>
 
| Latvia
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|lb}}
 
| <code>lb</code>
 
| Lebanon
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ls}}
 
| <code>ls</code>
 
| Lesotho
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|lr}}
 
| <code>lr</code>
 
| Liberia
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ly}}
 
| <code>ly</code>
 
| Libya
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|li}}
 
| <code>li</code>
 
| Liechtenstein
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|lt}}
 
| <code>lt</code>
 
| Lithuania
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|lu}}
 
| <code>lu</code>
 
| Luxembourg
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mo}}
 
| <code>mo</code>
 
| Macau
 
| <code>macao</code>
 
|-
 
| {{flag|mk}}
 
| <code>mk</code>
 
| Macedonia
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mg}}
 
| <code>mg</code>
 
| Madagascar
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mw}}
 
| <code>mw</code>
 
| Malawi
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|my}}
 
| <code>my</code>
 
| Malaysia
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mv}}
 
| <code>mv</code>
 
| Maldives
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ml}}
 
| <code>ml</code>
 
| Mali
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mt}}
 
| <code>mt</code>
 
| Malta
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mh}}
 
| <code>mh</code>
 
| Marshall Islands
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mr}}
 
| <code>mr</code>
 
| Mauritania
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mu}}
 
| <code>mu</code>
 
| Mauritius
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mx}}
 
| <code>mx</code>
 
| Mexico
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|fm}}
 
| <code>fm</code>
 
| Federated States of Micronesia
 
| <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" |
 
|-
 
 
 
| {{flag|nf}}
 
| <code>nf</code>
 
| Norfolk Island
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|nam}}
 
| <code>nam</code>
 
| North America
 
| <code>north american</code>
 
|-
 
| {{flag|kp}}
 
| <code>kp</code>
 
| North Korea
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|northern cyprus}}
 
|
 
| Northern Cyprus
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ukni}}
 
| <code>ukni</code>
 
| Northern Ireland
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mp}}
 
| <code>mp</code>
 
| Northern Mariana Islands
 
| <code>commonwealth of the northern mariana islands</code>
 
|-
 
| {{flag|no}}
 
| <code>no</code>
 
| Norway
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|om}}
 
| <code>om</code>
 
| Oman
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|pk}}
 
| <code>pk</code>
 
| Pakistan
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|pw}}
 
| <code>pw</code>
 
| Palau
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ps}}
 
| <code>ps</code>
 
| Palestine
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|pa}}
 
| <code>pa</code>
 
| Panama
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|pg}}
 
| <code>pg</code>
 
| Papua New Guinea
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|py}}
 
| <code>py</code>
 
| Paraguay
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|pe}}
 
| <code>pe</code>
 
| Peru
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ph}}
 
| <code>ph</code>
 
| Philippines
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|pn}}
 
| <code>pn</code>
 
| Pitcairn
 
| <code>pitcairn islands</code>
 
|-
 
| {{flag|lc}}
 
| <code>lc</code>
 
| Saint Lucia
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|mf}}
 
| <code>mf</code>
 
| Saint Martin
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|vc}}
 
| <code>vc</code>
 
| Saint Vincent and the Grenadines
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|ws}}
 
| <code>ws</code>
 
| Samoa
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|sm}}
 
| <code>sm</code>
 
| San Marino
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|st}}
 
| <code>st</code>
 
| Sao Tome and Principe
 
| style="background-color: #b2b2b2" |
 
|-
 
| {{flag|sa}}
 
| <code>sa</code>
 
| Saudi Arabia
 
| style="background-color: #b2b2b2" |
 
|-
 

Revision as of 08:02, 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
A
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
B
Flag Abbr Full country name Alternate name/code
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
C
Flag Abbr Full country name Alternate name/code
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