Template:Flag/doc

< Template:Flag
Revision as of 17:57, 8 October 2020 by KimPegasus (talk | contribs) (Created page with "Shows a small sprite of a country flag, using icons from the [http://www.famfamfam.com/lab/icons/flags/ famfamfam flag icon set]. == Usage == The template takes a single pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Shows a small sprite of a country flag, using icons from the famfamfam flag icon set.

Usage

The template takes a single parameter, the ISO 3166-1 alpha-2 code of the desired country.

  • US — Flag of the United States of America
  • FR — Flag of France

Note that this may not always be the obvious code for the country. For example:

  • GB — Flag of the United Kingdom (Great Britain)
  • DE — Flag of Germany (Deutschland)
  • CH — Flag of Switzerland (Confoederatio Helvetica)

A few other flags are included for other entities, which may be used (but in most situations probably shouldn't be):

  • CAT — Catalonia
  • EUEurope
  • GB-ENGLAND — England
  • GB-SCOTLAND — Scotland
  • GB-WALES — Wales

Known problems

The famfamfam icon set is rather old (from 2005, in fact), and now contains some errors and omissions, including:

  • DC — Democratic Republic of the Congo. Modified flag in 2006.
  • EC — Ecuador. Flag in famfamfam set is missing the flag's central seal (making it visually identical to the flag of Colombia).
  • IQ — Iraq. Modified flag in 2008.
  • LS — Lesotho. Introduced new flag in 2016.
  • LY — Libya. Introduced new flag in 2011.
  • MM — Myanmar. Introduced new flag in 2010.
  • MR — Mauritania. Modified flag in 2017.
  • RS — Serbia. Modified flag in 2010.
  • SS — South Sudan. Missing; became sovereign in 2011.
  • XK — Kosovo. Missing; became sovereign in 2008.