Difference between revisions of "Template:Flag"

From comp.tf
Jump to navigation Jump to search
m (Removed German Speaking parameter)
m (Added documentation/category)
Line 1: Line 1:
[[Image:{{Flag/Terms|{{{1|}}}}}.png|23x15px|border|{{Flag/Terms|{{{1|}}}}}|{{#ifeq:{{Flag/Terms|{{{1|}}}}}|Unknown|link=|{{#ifeq:{{Flag/Terms|{{{1|}}}}}|English Speaking|link=|link=:Category:{{Flag/Terms|{{{1|}}}}}}}}}]]{{#ifeq:{{Flag/Terms|{{{1|}}}}}|Unknown|[[Category:Unrecognised Flag]]|}}
+
<includeonly>[[Image:{{Flag/Terms|{{{1|}}}}}.png|23x15px|border|{{Flag/Terms|{{{1|}}}}}|{{#ifeq:{{Flag/Terms|{{{1|}}}}}|Unknown|link=|{{#ifeq:{{Flag/Terms|{{{1|}}}}}|English Speaking|link=|link=:Category:{{Flag/Terms|{{{1|}}}}}}}}}]]{{#ifeq:{{Flag/Terms|{{{1|}}}}}|Unknown|[[Category:Unrecognised Flag]]|}}</includeonly><noinclude>{{documentation}}[[Category:Template]]</noinclude>

Revision as of 12:46, 18 March 2016

(view - edit) Documentation

Template:Flag displays a flag icon.

Usage

{{flag|1}}

1

This is the only parameter in the template and is used for defining which country's flag will be shown.

  • All valid settings for flags are listed in the tables below
  • This parameter is case-insensitive.

Examples

You type You get
Full name {{flag|United Nations}} [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]]
Alternate name {{flag|world}} [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]]
Abbreviation {{flag|un}} [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]]
No parameter {{flag|}} [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]]
Invalid parameter {{flag|invalid}} [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]]

Valid settings

Note: United Kingdom flags

The individual flags of [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] England, [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] Northern Ireland, [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] Scotland, and [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] Wales should take preference in all possible circumstances over the [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] United Kingdom flag.

Misc · 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

Miscellaneous

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] asean ASEAN
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ukus English Language
usuk
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] eu Europe
European Union
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] nam North America
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] aunz Australasia
Oceania
Australia/New Zealand
nzau New Zealand/Australia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sam South America
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] un United Nations
Global
International
World
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] Unknown

A

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] af Afghanistan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] al Albania
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] dz Algeria
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ad Andorra
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ao Angola
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ag Antigua and Barbuda
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ar Argentina
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] am Armenia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] au Australia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] at Austria
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] az Azerbaijan

B

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bs Bahamas
The Bahamas
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bh Bahrain
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bd Bangladesh
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bb Barbados
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] by Belarus
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] be Belgium
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bz Belize
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bj Benin
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bt Bhutan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bo Bolivia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ba Bosnia and Herzegovina
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bw Botswana
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] br Brazil
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bn Brunei
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bg Bulgaria
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bf Burkina Faso
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] bi Burundi

C

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] kh Cambodia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cm Cameroon
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ca Canada
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cv Cape Verde
Cabo Verde
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cf Central African
Republic
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] td Chad
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cl Chile
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cn China
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] co Colombia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] km Comoros
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cr Costa Rica
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] hr Croatia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cu Cuba
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cy Cyprus
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cz Czech Republic
Czechia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ci Côte d'Ivoire
Ivory Coast

D

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cd Democratic Republic
of the Congo
Zaire
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] dk Denmark
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] dj Djibouti
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] dm Dominica
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] do Dominican Republic

E

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tl East Timor
Timor-Leste
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ec Ecuador
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] eg Egypt
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sv El Salvador
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] uken England
en
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gq Equatorial Guinea
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] er Eritrea
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ee Estonia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sz Eswatini
Swaziland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] et Ethiopia

F

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] fj Fiji
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] fi Finland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] fr France

G

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ga Gabon
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gm The Gambia
Gambia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ge Georgia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] de Germany
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gh Ghana
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gr Greece
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gl Greenland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gd Grenada
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gt Guatemala
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gn Guinea
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gw Guinea-Bissau
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] gy Guyana

H

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ht Haiti
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] hn Honduras
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] hk Hong Kong
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] hu Hungary

I

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] is Iceland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] in India
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] id Indonesia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ir Iran
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] iq Iraq
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ie Ireland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] il Israel
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] it Italy

J

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] jm Jamaica
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] jp Japan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] jo Jordan

K

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] kz Kazakhstan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ke Kenya
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ki Kiribati
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] xk Kosovo
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] kw Kuwait
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] kg Kyrgyzstan

L

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] la Laos
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] lv Latvia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] lb Lebanon
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ls Lesotho
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] lr Liberia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ly Libya
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] li Liechtenstein
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] lt Lithuania
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] lu Luxembourg

M

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mo Macao
Macau
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mg Madagascar
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mw Malawi
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] my Malaysia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mv Maldives
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ml Mali
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mt Malta
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mh Marshall Islands
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mr Mauritania
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mu Mauritius
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mx Mexico
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] fm Micronesia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] md Moldova
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mc Monaco
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mn Mongolia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] me Montenegro
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ma Morocco
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mz Mozambique
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mm Myanmar

N

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] na Namibia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] nr Nauru
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] np Nepal
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] nl Netherlands
Holland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] nz New Zealand
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ni Nicaragua
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ne Niger
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ng Nigeria
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] kp North Korea
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] mk Macedonia
North Macedonia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ukni Northern Ireland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] no Norway

O

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] om Oman

P

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] pk Pakistan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] pw Palau
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ps Palestine
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] pa Panama
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] pg Papua New Guinea
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] py Paraguay
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] pe Peru
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ph Philippines
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] pl Poland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] pt Portugal
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] pr Puerto Rico

Q

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] qa Qatar

R

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] cg Republic of the Congo
Congo
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ro Romania
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ru Russia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] rw Rwanda

S

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] kn Saint Kitts and Nevis
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] lc Saint Lucia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] vc Saint Vincent
and the Grenadines
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ws Samoa
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sm San Marino
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] st Sao Tome and Principe
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sa Saudi Arabia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] uksc Scotland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sn Senegal
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] rs Serbia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sc Seychelles
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sl Sierra Leone
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sg Singapore
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sk Slovakia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] si Slovenia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sb Soloman Islands
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] so Somalia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] za South Africa
rsa
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] kr South Korea
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ss South Sudan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] es Spain
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] lk Sri Lanka
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sd Sudan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sr Suriname
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] se Sweden
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ch Switzerland
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] sy Syria

T

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tw Taiwan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tj Tajikistan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tz Tanzania
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] th Thailand
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tg Togo
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] to Tonga
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tt Trinidad and Tobago
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tn Tunisia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tr Turkey
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tm Turkmenistan
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] tv Tuvalu

U

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ug Uganda
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ua Ukraine
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ae United Arab Emirates
uae
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] uk United Kingdom
gb Britain
Great Britain
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] us United States
usa United States of America
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] uy Uruguay
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] uz Uzbekistan

V

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] vu Vanuatu
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] va Vatican City
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ve Venezuela
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] vn Vietnam

W

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] wa Wales
ukwa

X

Y

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] ye Yemen

Z

[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] zm Zambia
[[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]] zw Zimbabwe

Developer documentation

How this template works

  1. Template:Flag takes the input parameter and calls a sub-template at "Template:Flag/X". For example, {{flag|united nations}} will call Template:Flag/united nations.
  2. This sub-template then in turn calls Template:Flag icon, supplying it with a single parameter ({{Flag icon|X}}). For example, Template:Flag/united nations supplies Template:Flag icon with the single parameter United Nations
  3. Template:Flag icon calls for a flag image at "File:Flag of X.png", and applies formatting such as sizing and a 1px border. For example, if Template:Flag icon is given the parameter United Nations, it will supply File:Flag of United Nations.png ([[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]]).

How to add a flag

If you wish to add a flag, the following requirements must be followed:

Image size

  • Width: equal or less than 23px
  • Height: equal or less than 15px
  • Aspect ratio: retained from source flag

If your flag is a custom flag (e.g. [[Image:Template:Flag/Terms.png|23x15px|border|Template:Flag/Terms|link=:Category:Template:Flag/Terms]]), we recommend a 23x15px flag which has a 2:3 ratio.

Upload

  • Your flag should be uploaded to File:Flag of ProperFlagName.png, where ProperFlagName is the full name of your flag with correct capitalization
  • Make sure you add your flag image to Category:Flag Images.

Update templates

  • Create a template at Template:Flag/lowercaseflagname, where lowercaseflagname is the full name of your flag in complete lowercase. This template should contain the code below:
{{Flag icon|'''ProperFlagName'''}}<noinclude>[[Category:Flag sub-templates]]</noinclude>
  • Create a template at Template:Flag/abbr, where abbr is the lowercase abbreviation of your flag. This template should be a simple redirect to the primary sub-template (Template:Flag/lowercaseflagname)
    • If your template has any alternate names or abbreviations, create them as simple redirects to the primary sub-template as well
  • Add your flag to the correct table in the documentation template.