ទំព័រគំរូ:FlagIOC2team
[[File:{{country_flag_IOC_alias_{{{1}}}|}}|22x20px|border|alt=|link=|{{country_IOC_alias_{{{1}}}|}}]] [[{{country_IOC_alias_{{{1}}}|}} at the |{{country_IOC_alias_{{{1}}}|}}]] ({{{1}}})
Usage
កែប្រែ{{flagIOCteam|code|games}}
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 Olympic games.
- code is an International Olympic Committee country code (see List of IOC country codes).
- games is a string of the form <year> <games>, 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.
Examples
កែប្រែ{{flagIOC2team|CHN|Asian Games}}
→ [[File:ទំព័រគំរូ:Country flag IOC alias CHN|22x20px|border|alt=|link=|China]] China (CHN){{flagIOC2team|CHN|1994 Asian Games}}
→ [[File:ទំព័រគំរូ:Country flag IOC alias CHN|22x20px|border|alt=|link=|China]] China (CHN){{flagIOC2team|CHN|2009 Asian Indoor Games}}
→ [[File:ទំព័រគំរូ:Country flag IOC alias CHN|22x20px|border|alt=|link=|China]] China (CHN){{flagIOC2team|HKG|1954 Asian Games}}
→ [[File:ទំព័រគំរូ:Country flag IOC alias HKG|22x20px|border|alt=|link=|ទំព័រគំរូ:Country IOC alias HKG]] [[ទំព័រគំរូ:Country IOC alias HKG at the 1954 Asian Games|ទំព័រគំរូ:Country IOC alias HKG]] (HKG)