Template:FlagIOC2athlete/doc

This template is used to simplify creation of multi-sport events results articles. It expands upon the infrastructure developed for the FlagIOC2 template to render the following additions to an athlete's name:
 * flag icon for the athlete's nation before the name
 * country code for the athlete's nation after the name
 * wikilink from the country code to the appropriate "Nation at the year multi-sport event" article

Examples




(shows historical Hong Kong flag in use in 1954)

For comparison, the output of  is:

Supporting templates

 * The country name is supplied by where AAA is an IOC country code.
 * The flag image name is also supplied by
 * For the complete country code list with related names and flags, see Module:Country alias

Template Data
{	"params": { "1": {			"label": "Athlete", "required": true, "description": "The athlete's name, typically wikilinked. May be any text; a pair of names is fine.", "example": "Usain Bolt", "type": "content" },		"2": {			"label": "IOC country code", "type": "string", "required": true, "description": "Three letter code as per List of IOC country codes.", "example": "IRI" },		"3": {			"label": "Games", "description": "Of the form \" \". Note that the combination of code and games parameters will automatically choose the correct flag for the nation (including historical flags for nations in which they have changed over the years) and the correct wikilink to the nation's article.", "type": "string", "required": true }	},	"paramOrder": [ "1",		"2",		"3"	],	"description": "This template is used to simplify creation of multi-sport events results articles. It expands upon the infrastructure developed for the FlagIOC2 template to render the following additions to an athlete's name:\n- flag icon for the athlete's nation before the name\n- country code for the athlete's nation after the name\n- wikilink from the country code to the appropriate \"Nation at the year multi-sport event\" article" }