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