Template:Flag

[[File:{{{1}}}.png|x14px|link=]]
Template documentation (for the above template, sometimes hidden or invisible)

Contents

This template produces a small flag image. It is generally not used directly, instead it is used by other templates. For cases where the flag is displayed beside the country name (such as the "Country" column in tables) please use Template:Country.

Usage[edit source]

This template works by linking to an image in Category:Flags. The following countries have flag files uploaded:

  • Afghanistan.png
    {{flag|Afghanistan}}
  • Algeria.png
    {{flag|Algeria}}
  • Angola.png
    {{flag|Angola}}
  • Argentina.png
    {{flag|Argentina}}
  • Armenia.png
    {{flag|Armenia}}
  • Australia.png
    {{flag|Australia}}
  • Austria.png
    {{flag|Austria}}
  • Azerbaijan.png
    {{flag|Azerbaijan}}
  • Bahrain.png
    {{flag|Bahrain}}
  • Bangladesh.png
    {{flag|Bangladesh}}
  • Belarus.png
    {{flag|Belarus}}
  • Belgium.png
    {{flag|Belgium}}
  • Bolivia.png
    {{flag|Bolivia}}
  • Botswana.png
    {{flag|Botswana}}
  • Brazil.png
    {{flag|Brazil}}
  • Brunei.png
    {{flag|Brunei}}
  • Bulgaria.png
    {{flag|Bulgaria}}
  • Canada.png
    {{flag|Canada}}
  • Chile.png
    {{flag|Chile}}
  • China.png
    {{flag|China}}
  • Colombia.png
    {{flag|Colombia}}
  • Costa Rica.png
    {{flag|Costa Rica}}
  • Croatia.png
    {{flag|Croatia}}
  • Cyprus.png
    {{flag|Cyprus}}
  • Czech Republic.png
    {{flag|Czech Republic}}
  • Denmark.png
    {{flag|Denmark}}
  • Dominican Republic.png
    {{flag|Dominican Republic}}
  • Ecuador.png
    {{flag|Ecuador}}
  • Egypt.png
    {{flag|Egypt}}
  • Estonia.png
    {{flag|Estonia}}
  • Finland.png
    {{flag|Finland}}
  • France.png
    {{flag|France}}
  • Georgia.png
    {{flag|Georgia}}
  • Germany.png
    {{flag|Germany}}
  • Greece.png
    {{flag|Greece}}
  • Guatemala.png
    {{flag|Guatemala}}
  • Honduras.png
    {{flag|Honduras}}
  • Hungary.png
    {{flag|Hungary}}
  • India.png
    {{flag|India}}
  • Indonesia.png
    {{flag|Indonesia}}
  • Iran.png
    {{flag|Iran}}
  • Iraq.png
    {{flag|Iraq}}
  • Ireland.png
    {{flag|Ireland}}
  • Israel.png
    {{flag|Israel}}
  • Italy.png
    {{flag|Italy}}
  • Jamaica.png
    {{flag|Jamaica}}
  • Japan.png
    {{flag|Japan}}
  • Kazakhstan.png
    {{flag|Kazakhstan}}
  • Kosovo.png
    {{flag|Kosovo}}
  • Kuwait.png
    {{flag|Kuwait}}
  • Kyrgyzstan.png
    {{flag|Kyrgyzstan}}
  • Latvia.png
    {{flag|Latvia}}
  • Lebanon.png
    {{flag|Lebanon}}
  • Liechtenstein.png
    {{flag|Liechtenstein}}
  • Lithuania.png
    {{flag|Lithuania}}
  • Malaysia.png
    {{flag|Malaysia}}
  • Malta.png
    {{flag|Malta}}
  • Mexico.png
    {{flag|Mexico}}
  • Mongolia.png
    {{flag|Mongolia}}
  • Morocco.png
    {{flag|Morocco}}
  • Myammar.png
    {{flag|Myammar}}
  • Netherlands.png
    {{flag|Netherlands}}
  • New Zealand.png
    {{flag|New Zealand}}
  • Nigeria.png
    {{flag|Nigeria}}
  • North Korea.png
    {{flag|North Korea}}
  • Norway.png
    {{flag|Norway}}
  • Oman.png
    {{flag|Oman}}
  • Pakistan.png
    {{flag|Pakistan}}
  • Peru.png
    {{flag|Peru}}
  • Philippines.png
    {{flag|Philippines}}
  • Poland.png
    {{flag|Poland}}
  • Portugal.png
    {{flag|Portugal}}
  • Qatar.png
    {{flag|Qatar}}
  • Romania.png
    {{flag|Romania}}
  • Russia.png
    {{flag|Russia}}
  • Saudi Arabia.png
    {{flag|Saudi Arabia}}
  • Singapore.png
    {{flag|Singapore}}
  • Slovakia.png
    {{flag|Slovakia}}
  • Slovenia.png
    {{flag|Slovenia}}
  • South Africa.png
    {{flag|South Africa}}
  • South Korea.png
    {{flag|South Korea}}
  • Spain.png
    {{flag|Spain}}
  • Sri Lanka.png
    {{flag|Sri Lanka}}
  • Sweden.png
    {{flag|Sweden}}
  • Switzerland.png
    {{flag|Switzerland}}
  • Taiwan.png
    {{flag|Taiwan}}
  • Thailand.png
    {{flag|Thailand}}
  • Tunisia.png
    {{flag|Tunisia}}
  • Turkey.png
    {{flag|Turkey}}
  • Turkmenistan.png
    {{flag|Turkmenistan}}
  • UAE.png
    {{flag|UAE}}
  • UK.png
    {{flag|UK}}
  • Uruguay.png
    {{flag|Uruguay}}
  • USA.png
    {{flag|USA}}
  • Uzbekistan.png
    {{flag|Uzbekistan}}
  • Venezuela.png
    {{flag|Venezuela}}
  • Vietnam.png
    {{flag|Vietnam}}
  • Yemen.png
    {{flag|Yemen}}

There are additional flag files uploaded, however these should generally not be used in articles. These include:

  • England.png
    {{flag|England}}
  • Hong Kong.png
    {{flag|Hong Kong}}
  • Northern Ireland.png
    {{flag|Northern Ireland}}
  • Scotland.png
    {{flag|Scotland}}
  • Wales.png
    {{flag|Wales}}

Produces a small flag icon

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Country name1

The name of the country. Please see the template description page for a list of countries.

Example
USA
Unknownrequired
Alternateclassalternateclass

no description

Unknownoptional
Sizesize

no description

Unknownoptional
Enable small sizesmall

If anything is entered into this parameter, a smaller flag is displayed. Use this for "former location" rows in tables.

Example
yes
Unknownoptional
Linklink

no description

Unknownoptional

Visit Template:Flag/doc to edit this text! (How does this work?)