साँचा: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
संपादित करें ऊपर दिए गए निर्देश साँचा:FlagIOCteam/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |