Fyrimynd:FlagIOC2/doc
Appearance
Hetta er ein dokumentatión undirsíða til Fyrimynd:FlagIOC2. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
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)