Difference between revisions of "Template:Flag/doc"

From comp.tf
Jump to navigation Jump to search
m (Re-uploading)
m (Re-uploading)
Line 260: Line 260:
 
  | <code>ky</code>
 
  | <code>ky</code>
 
  | style="background-color: #ffeae6" | Cayman Islands
 
  | style="background-color: #ffeae6" | Cayman Islands
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
 +
| {{flag|cf}}
 +
| <code>cf</code>
 +
| Central African Republic
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|td}}
 +
| <code>td</code>
 +
| Chad
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cl}}
 +
| <code>cl</code>
 +
| Chile
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cn}}
 +
| <code>cn</code>
 +
| China
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cx}}
 +
| <code>cx</code>
 +
| Christmas Island
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cc}}
 +
| <code>cc</code>
 +
| style="background-color: #ffeae6" | Cocos (Keeling) Islands
 +
| style="background-color: #ffeae6" | <code>cocos keeling islands</code>
 +
|-
 +
| {{flag|co}}
 +
| <code>co</code>
 +
| Colombia
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cd}}
 +
| <code>cd</code>
 +
| Democratic Republic of the Congo
 +
| <code>dr congo</code>
 +
|-
 +
| {{flag|cg}}
 +
| <code>cg</code>
 +
| Republic of the Congo
 +
| <code>congo</code>
 +
|-
 +
| {{flag|ck}}
 +
| <code>ck</code>
 +
| style="background-color: #ffeae6" | Cook Islands
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cr}}
 +
| <code>cr</code>
 +
| Costa Rica
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|hr}}
 +
| <code>hr</code>
 +
| Croatia
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cu}}
 +
| <code>cu</code>
 +
| Cuba
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cw}}
 +
| <code>cw</code>
 +
| style="background-color: #ffeae6" | Curacao
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cy}}
 +
| <code>cy</code>
 +
| Cyprus
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cyrenaica}}
 +
| style="background-color: #b2b2b2" |
 +
| style="background-color: #ffeae6" | Cyrenaica
 +
| style="background-color: #b2b2b2" |
 +
|-
 +
| {{flag|cz}}
 +
| <code>cz</code>
 +
| Czech Republic
 +
| 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" |
 
  | style="background-color: #b2b2b2" |
 
|-
 
|-

Revision as of 07:41, 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