Template:Country/doc

The   template is used to display various information about a country.

Required parameters

 * The first parameter is a "what to display" selector, supported are the values "flagcountry", "flagicon" , "flag" , "name"
 * The second parameter is the name of the country

Selectors "flagcountry", "flagicon" and "flag" shouldn't be used any longer. Please instead use the corresponding direct templates flagcountry, flagicon and flag.

Examples:


 * =   → use:  = 🇫🇷 france
 * =   → use:  = 🇫🇷
 * =   → use:  = 🇫🇷 France

Using an alias name for the country:


 * =   → use: 🇫🇷 france = 🇫🇷 france
 * =   → use: 🇫🇷 = 🇫🇷
 * =   → use: 🇫🇷 FRA = 🇫🇷 FRA

Accessing the values of the country data templates (see template:country data France):



Optional parameters
An optional "size" parameter can be given:


 * =   → use: 🇫🇷 france = 🇫🇷 france
 * =   → use: 🇫🇷 = 🇫🇷

An optional "name" parameter can be given to override the text of the link:
 * =   → use: 🇫🇷 france = 🇫🇷 france
 * =   → use: 🇫🇷 france = 🇫🇷 france

Country data
The actual values what to display are stored in country data templates (see also Category:Country data templates), which are selected by the second parameter. Examples:

Formatters
The "how to display" logic is separated into formatter templates (these contain no data besides some defaults):