Difference between revisions of "Template:Flag/doc"
m |
|||
Line 62: | Line 62: | ||
|} | |} | ||
Country names in {{abbr|this format}} are shortened versions. These shortened versions cannot be used as name settings for the country. To find the full country name, hover over the text. | Country names in {{abbr|this format}} are shortened versions. These shortened versions cannot be used as name settings for the country. To find the full country name, hover over the text. | ||
+ | {| class=wikitable style="width: 100%; text-align: center;" | ||
+ | [[Template:Flag/doc#A A]] · [[Template:Flag/doc#B B]] · [[Template:Flag/doc#C C]] · [[Template:Flag/doc#D D]] · [[Template:Flag/doc#E E]] · [[Template:Flag/doc#F F]] · [[Template:Flag/doc#G G]] · [[Template:Flag/doc#H H]] · [[Template:Flag/doc#I I]] · [[Template:Flag/doc#J J]] · [[Template:Flag/doc#K K]] · [[Template:Flag/doc#L L]] · [[Template:Flag/doc#M M]] · [[Template:Flag/doc#N N]] · [[Template:Flag/doc#O O]] · [[Template:Flag/doc#P P]] · [[Template:Flag/doc#Q Q]] · [[Template:Flag/doc#R R]] · [[Template:Flag/doc#S S]] · [[Template:Flag/doc#T T]] · [[Template:Flag/doc#U U]] · [[Template:Flag/doc#V V]] · [[Template:Flag/doc#W W]] · [[Template:Flag/doc#X X]] · [[Template:Flag/doc#Y Y]] · [[Template:Flag/doc#Z Z]] | ||
+ | |} | ||
{{Box|start}} | {{Box|start}} | ||
{| | {| |
Revision as of 04:14, 20 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.
- 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|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. An alternate list of two letter abbreviations for countries can be found here
Alternate abbreviations
These abbreviations are additional to those listed in the tables.
- English Language:
ukus
- England:
uken
- United Arab Emirates:
uae
- United Kingdom:
gb
- United States:
usa
- Wales:
ukwa
Alternate names
These names are additional to those listed in the tables.
- Ivory Coast:
cote d'ivoire
- Macau:
macao
United Nations recognised country | |
Unrecognised country | |
Geographical region or collectivity of countries |
Country names in this format are shortened versions. These shortened versions cannot be used as name settings for the country. To find the full country name, hover over the text.
Template:Flag/doc#A A · Template:Flag/doc#B B · Template:Flag/doc#C C · Template:Flag/doc#D D · Template:Flag/doc#E E · Template:Flag/doc#F F · Template:Flag/doc#G G · Template:Flag/doc#H H · Template:Flag/doc#I I · Template:Flag/doc#J J · Template:Flag/doc#K K · Template:Flag/doc#L L · Template:Flag/doc#M M · Template:Flag/doc#N N · Template:Flag/doc#O O · Template:Flag/doc#P P · Template:Flag/doc#Q Q · Template:Flag/doc#R R · Template:Flag/doc#S S · Template:Flag/doc#T T · Template:Flag/doc#U U · Template:Flag/doc#V V · Template:Flag/doc#W W · Template:Flag/doc#X X · Template:Flag/doc#Y Y · Template:Flag/doc#Z Z