साँचा:FlagIOCteam/doc
नेविगेशन पर जाएँ
खोज पर जाएँ
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
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 just Summer or Winter. 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}}
→ साँचा:flagIOCteam{{flagIOCteam|GER|Winter}}
→ साँचा:flagIOCteam{{flagIOCteam|ESP|1992 Summer}}
→ साँचा:flagIOCteam{{flagIOCteam|CHN|2008 Summer}}
→ साँचा:flagIOCteam{{flagIOCteam|CAN|1924 Winter}}
→ साँचा:flagIOCteam
Supporting templates
- The country name is supplied by साँचा:tlx where AAA is an IOC country code.
- The flag image name is also supplied by साँचा:tlc
- For the complete country code list with related names and flags, see Module:Country alias
See also