ಟೆಂಪ್ಲೇಟು:FlagIOCteam
[[File:{{country_flag_IOC_alias_{{{1}}}|}}|22x20px|border|alt=|link=|{{country_IOC_alias_{{{1}}}|}}]] [[{{country_IOC_alias_{{{1}}}|}} at the Olympics|{{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> Summer
,<year> Winter
, or justSummer
orWinter
. Wikipedia:WikiProject Olympics has created a full set of pages of the form "<country> at the <year> <Summer/Winter> Olympics" and 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
ಬದಲಾಯಿಸಿ{{flagIOCteam|USA}}
→ United States (USA){{flagIOCteam|GER|Winter}}
→ Germany (GER){{flagIOCteam|ESP|1992 Summer}}
→ Spain (ESP){{flagIOCteam|CHN|2008 Summer}}
→ ಚೀನಿ ಜನ ಗಣರಾಜ್ಯ (CHN){{flagIOCteam|CAN|1924 Winter}}
→ Canada (CAN)