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.
 * 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 Afghanistan's flag:.
 * will display Micronesia's flag:.
 * will display Zimbabwe's flag:.


 * by ISO 3166-1 alpha-2
 * will display Ecuador's flag:.
 * will display Nepal's flag:.
 * will display the United States' flag:


 * by ISO 3166-1 alpha-3
 * will display Canada's flag:.
 * will display China's flag:.
 * will display Spain'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  )