साँचा:FlagIOCteam/doc
दिखावट
यह प्रलेखन उपपृष्ठ साँचा:FlagIOCteam के लिए है। इसमें उपयोग विधि की जानकारी, श्रेणियाँ और वह वस्तुएँ हैं जो कि असली साँचा के पृष्ठ पर नही हैं। |
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}}
→ संयुक्त राज्य अमेरिका (USA){{flagIOCteam|GER|Winter}}
→ जर्मनी (GER){{flagIOCteam|ESP|1992 Summer}}
→ स्पेन (ESP){{flagIOCteam|CHN|2008 Summer}}
→ चीन (CHN){{flagIOCteam|CAN|1924 Winter}}
→ कनाडा (CAN)
Supporting templates
[संपादित करें]- The country name is supplied by
{{country alias|AAA}}
where AAA is an IOC country code. - The flag image name is also supplied by
{{country alias}}
- For the complete country code list with related names and flags, see Module:Country alias
See also
[संपादित करें]