Template:Flag link/doc

Description
Produces a flag icon attached to a wikilinked article. The name of the country is the prefix of the wikilink, but the display text is just the name of the country by itself.

For example,  has the same effect as , both producing:.

For the first parameter, see Category:Country data templates and Category:Country data redirects for acceptable values.

TemplateData
{	"params": { "1": {			"label": "Nation", "description": "Use the name of the country/region as per the set of templates in Category:Country data templates or an \"alias\" (such as a three-letter country code) as per the set of templates in Category:Country data redirects", "type": "string", "required": true },		"2": {			"label": "Link", "description": "Specifies the suffix to append to the country's name to form the wikilink", "type": "string", "suggested": true },		"3": {			"aliases": [ "variant" ],			"description": "Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate country data template.", "type": "string", "label": "Variant" },		"size": { "description": "Changes the flag icon size (use sparingly!)", "label": "Size" },		"name": { "label": "Name", "description": "Changes the wikilink display text" }	},	"description": "Produces a flag icon attached to a wikilinked article." }