Template:Flagicons/doc

Description
This template is used to display a small icon with a country flag.

Syntax
Each country uses the name of the country or ISO 3166-1 alpha-2 or ISO 3166-1 alpha-3 codes.

Requirements

 * This template uses country code and country codes modules.
 * This template uses instant commons images.

Examples

 * by country name
 * will display Japan's flag:.


 * by ISO 3166-1 alpha-2
 * will display Japan's flag:.


 * by ISO 3166-1 alpha-3
 * will display Japan's flag:.

No flags
The following country names and codes will not produce a flag:
 * Mayotte (codes  and  )
 * Saint Martin (codes  and  )
 * Saint Pierre and Miquelon (codes  and  )
 * Svalbard and Jan Mayen (codes  and  )