Template:Flagcountry/doc

Displays the flag and the name of a country, linked to the main article of that country (flag + country).

The first parameter is mandatory and identifies the name of the country.

Examples:
 * 🇫🇷 france = 🇫🇷 france
 * 🇫🇷 france = 🇫🇷 france

Optional parameters:
 * 🇫🇷 france = 🇫🇷 france — to use a non-default flag size
 * 🇫🇷 france = 🇫🇷 france — to produce a non-default link-text
 * 🇫🇷 france = 🇫🇷 france — to use a flag variant. In this example, the historical flag for Free France (1940-1945) is identified by the second parameter of "free".  The list of flag variants is specific for each country.

Implementation
This template uses the data templates listed under category:country data templates, which contain the data what to display (Example: template:country data France) and the formatter template:country flagcountry2, which contains the logic how to display the country data.


 * 🇫🇷 france = 🇫🇷 france — uses template:country data France
 * 🇫🇷 france = 🇫🇷 france — uses template:country data FRA, which is a redirect to template:country data France

Related templates

 * template:flagicon — to display the flag alone
 * 🇫🇷 = 🇫🇷
 * 🇫🇷 = 🇫🇷
 * template:flag — similar to flagcountry, but uses the input parameter as the display text for the link
 * 🇫🇷 France = 🇫🇷 France
 * 🇫🇷 FRA = 🇫🇷 FRA