Template:Flag/doc
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
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:
bahamas
Cape Verde:
cabo verde
East Timor:
timor-leste
Gambia:
the gambia
Ivory Coast:
cote d'ivoire
Macau:
macao
Oceania:
australasia
- Template:Flag/pn Pitcairn:
pitcairn islands
United Nations:
global
,international
United States:
united states of america
Alternate abbreviations
These abbreviations are additional to those listed in the tables.
England:
en
English Language:
ukus
United Arab Emirates:
uae
United Kingdom:
gb
United States:
usa
Wales:
wa
vs.
![Wales Wales](/images/9/95/Flag_of_Wales.png)
The United Kingdom flag should take preference in all circumstances minus usage in Infoboxes, where the flags of
England,
Northern Ireland,
Scotland, and
Wales should be used.
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
|