Template:FlagIOC2/doc

From escforumwiki
Jump to navigation Jump to search

Usage

{{flagIOC2|code|games|athletes|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.

  • code is an International Olympic Committee country code (see List of IOC country codes).
  • games 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.
  • athletes 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.

Examples

  • {{flagIOC2|CHN|Asian Games}} China
  • {{flagIOC2|CHN|2008 Asian Beach Games}} China
  • {{flagIOC2|HKG|1954 Asian Games}} Hong Kong
  • {{flagIOC2|JPN|2009 Asian Indoor Games|100}} Japan (100)