Fyrimynd:FlagIOC2
Appearance
Nýtsla
[rætta wikitekst]{{flagIOC2|kota|leikir|ítróttafólk|univ}}
This template is used to display a small flag and name of a country, with a wikilink to the country's page for the specified multi-sport event.
- kota is an International Olympic Committee country code (see List of IOC country codes).
- leikir is a string of the form <year> <games>, or just <games>. The intent is that this template can be used from medal tables and event result tables to point to the right country page. Also, the correct historical flag is chosen based on this string, for countries that had different flags in the past.
- ítróttafólk is the number of athletes that the nation contributed to the specific Olympics. It is an optional argument, and will render a small (#) after the nation's name.
- univ applies only to the use of this template for Chinese Taipei at any Universiade games, to make sure that the Universiade flag for TPE shows.
Dømi
[rætta wikitekst]{{flagIOC2|CHN|Asian Games}}
→ Kina{{flagIOC2|CHN|Asian Beach Games 2008}}
→ Kina{{flagIOC2|HKG|Asian Games 1954}}
→ Hong Kong{{flagIOC2|JPN|Asian Indoor Games 2009|100}}
→ Japan (100)
Dokumentatiónin omanfyri er tikin frá Fyrimynd:FlagIOC2/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |