الگو:FlagCGF

از ویکی‌پدیا، دانشنامهٔ آزاد
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

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 کمیته بین‌المللی المپیک country code (see فهرست کدهای کمیته بین‌المللی المپیک).
  • 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}} چین
  • {{flagIOC2|CHN|2008 Asian Beach Games}} چین
  • {{flagIOC2|CHN|1974 Asian Games}} چین
  • {{flagIOC2|JPN|2009 Asian Indoor Games|100}} ژاپن (100)