Difference between revisions of "Template:FlagIOC2athlete"
Jump to navigation
Jump to search
imported>Javert m (remove incorrect protection template) |
|||
| Line 1: | Line 1: | ||
| − | [[Image:{{country_flag_IOC_alias_{{{2}}}|{{{3|}}}}}|22x20px|border]] {{{1}}} <span style="font-size:90%;">([[{{country_IOC_alias_{{{2}}}|{{{3|}}}}} at the {{{3|}}}|{{{2}}}]])</span><noinclude>{{documentation}}</noinclude> | + | [[Image:{{country_flag_IOC_alias_{{{2}}}|{{{3|}}}}}|22x20px|border]] {{{1}}} <span style="font-size:90%;">([[{{country_IOC_alias_{{{2}}}|{{{3|}}}}} at the {{{3|}}}|{{{2}}}]])</span> |
| + | <noinclude> | ||
| + | {{documentation}} | ||
| + | |||
| + | <!--[[en:Template:FlagIOC2athlete]]--> | ||
| + | [[vi:Tiêu bản:FlagIOC2athlete]] | ||
| + | </noinclude> | ||
Revision as of 11:58, 18 July 2009
[[Image:{{country_flag_IOC_alias_{{{2}}}|}}|22x20px|border]] {{{1}}} ([[{{country_IOC_alias_{{{2}}}|}} at the |{{{2}}}]])
| This template uses Lua: |
This template family is used to display a small flag, one or more athletes, and the name of a country, with a wikilink to the country's page for the specified multi-sport event.
Use Template:T for the other games not listed below.
Contents
Usage
{{flagXXXathlete|athlete(s)|code|games}}
- athlete(s) is the name(s) of the athlete(s) to display.
- code is the three-letter country code used by the IOC, CGF, or FINA.
- games is a string with slightly different forms depending on the template used:
- Template:T takes values in the form
<year> <games>, or just<games> - Template:T and Template:T use
<year> Summer,<year> Winter, or justSummerorWinter - Games-specific templates such as Template:T, Template:T, etc, simply take the
<year>. See below for a full list of supported "shortcut" templates
- Template:T takes values in the form
- 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
In addition to using historical flags when appropriate, the specific name of the games will be selected when appropriate.
flagIOC2
{{FlagIOC2athlete|[[Andy Ardiyansah]] and [[Koko Prasetyo Darkuncoro]]|INA|Asian Games}}- → [[Image:Template:Country flag IOC alias INA|22x20px|border]] Andy Ardiyansah and Koko Prasetyo Darkuncoro ([[Template:Country IOC alias INA at the Asian Games|INA]])
{{FlagIOC2athlete|[[Andy Ardiyansah]] and [[Koko Prasetyo Darkuncoro]]|INA|2008 Asian Beach Games}}- → [[Image:Template:Country flag IOC alias INA|22x20px|border]] Andy Ardiyansah and Koko Prasetyo Darkuncoro ([[Template:Country IOC alias INA at the 2008 Asian Beach Games|INA]])
{{FlagIOC2athlete|Jane Example|HKG|1954 Asian Games}}- → [[Image:Template:Country flag IOC alias HKG|22x20px|border]] Jane Example ([[Template:Country IOC alias HKG at the 1954 Asian Games|HKG]])
(Uses historical flag)
{{FlagIOC2athlete|Joe Bloggs|JPN|2009 Asian Indoor Games}}- → [[Image:Template:Country flag IOC alias JPN|22x20px|border]] Joe Bloggs ([[Template:Country IOC alias JPN at the 2009 Asian Indoor Games|JPN]])
flagIOCathlete / flagIPCathlete
{{flagIOCathlete|[[Teresa Edwards]]|USA}}→ [[Image:Template:Country flag IOC alias USA|22x20px|border]] Teresa Edwards ([[Template:Country IOC alias USA at the Olympics|USA]])
{{flagIOCathlete|[[Hubert Van Innis]]|GER|Winter}}→ [[Image:Template:Country flag IOC alias GER|22x20px|border]] Hubert Van Innis ([[Template:Country IOC alias GER at the Winter Olympics|GER]])
{{flagIOCathlete|Joe Example|ESP|2004 Summer}}→ [[Image:Template:Country flag IOC alias ESP|22x20px|border]] Joe Example ([[Template:Country IOC alias ESP at the 2004 Summer Olympics|ESP]])
{{flagIOCathlete|Joey Example|CAN|2006 Winter}}→ [[Image:Template:Country flag IOC alias CAN|22x20px|border]] Joey Example ([[Template:Country IOC alias CAN at the 2006 Winter Olympics|CAN]])
{{flagIOCathlete|Joy Example|CAN|1924 Winter}}→ [[Image:Template:Country flag IOC alias CAN|22x20px|border]] Joy Example ([[Template:Country IOC alias CAN at the 1924 Winter Olympics|CAN]])
(Uses historical flag)
{{flagIOCathlete|Jonah Example|GRE|2004 Summer}}→ [[Image:Template:Country flag IOC alias GRE|22x20px|border]] Jonah Example ([[Template:Country IOC alias GRE at the 2004 Summer Olympics|GRE]])
{{flagIPCathlete|Jon Example|GRE|2004 Summer}}→ [[Image:Template:Country flag IOC alias GRE|22x20px|border]] Jon Example ([[Template:Country IOC alias GRE at the 2004 Summer Paralympics|GRE]])
flagCGFathlete
{{flagCGFathlete|Joe Example|CAN}}→ [[Image:Template:Country flag IOC alias CAN|22x20px|border]] Joe Example ([[Template:Country IOC alias CAN at the Commonwealth Games|CAN]])
{{flagCGFathlete|Jay Example|SCO|2010}}→ [[Image:Template:Country flag IOC alias SCO|22x20px|border]] Jay Example ([[Template:Country IOC alias SCO at the 2010 Commonwealth Games|SCO]])
{{flagCGFathlete|Joy Example|AUS|1974}}→ [[Image:Template:Country flag IOC alias AUS|22x20px|border]] Joy Example ([[Template:Country IOC alias AUS at the 1974 British Commonwealth Games|AUS]])
{{flagCGFathlete|Jonah Example|NZL|1962}}→ [[Image:Template:Country flag IOC alias NZL|22x20px|border]] Jonah Example ([[Template:Country IOC alias NZL at the 1962 British Empire and Commonwealth Games|NZL]])
{{flagCGFathlete|Jon Example|IND|1934}}→ [[Image:Template:Country flag IOC alias IND|22x20px|border]] Jon Example ([[Template:Country IOC alias IND at the 1934 British Empire Games|IND]])
flagSEAGFathlete
{{flagSEAGFathlete|Joe Example|VIE|1973}}→ [[Image:Template:Country flag IOC alias VIE|22x20px|border]] Joe Example ([[Template:Country IOC alias VIE at the 1973 Template:SEAGF year|VIE]])
(Uses historical flag)
{{flagSEAGFathlete|Jay Example|MAS|1961}}→ [[Image:Template:Country flag IOC alias MAS|22x20px|border]] Jay Example ([[Template:Country IOC alias MAS at the 1961 Template:SEAGF year|MAS]])
{{flagSEAGFathlete|Joy Example|MYA|2013}}→ [[Image:Template:Country flag IOC alias MYA|22x20px|border]] Joy Example ([[Template:Country IOC alias MYA at the 2013 Template:SEAGF year|MYA]])
{{flagSEAGFathlete|Jon Example|VIE|2015}}→ [[Image:Template:Country flag IOC alias VIE|22x20px|border]] Jon Example ([[Template:Country IOC alias VIE at the 2015 Template:SEAGF year|VIE]])
FlagPASOathlete
{{FlagPASOathlete|Joe Example|COL|2011}}→ [[Image:Template:Country flag IOC alias COL|22x20px|border]] Joe Example ([[Template:Country IOC alias COL at the 2011 Pan American Games|COL]])
{{FlagPASOathlete|Jon Example|BRA|2011}}→ [[Image:Template:Country flag IOC alias BRA|22x20px|border]] Jon Example ([[Template:Country IOC alias BRA at the 2011 Pan American Games|BRA]])
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
| Output style → | Country name | Country (code) | Athlete (country) | Athlete Country |
Country code |
|---|---|---|---|---|---|
| Olympic Games | {{FlagIOC}} | {{FlagIOCteam}} | {{FlagIOCathlete}} | {{FlagIOCmedalist}} | {{FlagIOCshort}} |
| Other games | {{FlagIOC2}} | {{FlagIOC2team}} | {{FlagIOC2athlete}} | {{FlagIOC2medalist}} | {{FlagIOC2short}} |
| Paralympic Games | {{FlagIPC}} | {{FlagIPCteam}} | {{FlagIPCathlete}} | {{FlagIPCmedalist}} | {{FlagIPCshort}} |
| Pan American | {{FlagPASO}} | {{FlagPASOteam}} | {{FlagPASOathlete}} | {{FlagPASOmedalist}} | |
| Parapan American | {{FlagPPASO}} | ||||
| Commonwealth | {{FlagCGF}} | {{FlagCGFteam}} | {{FlagCGFathlete}} | {{FlagCGFmedalist}} | |
| Southeast Asian | {{FlagSEAGF}} | {{FlagSEAGFteam}} | {{FlagSEAGFathlete}} | {{FlagSEAGFmedalist}} | |
| World Games | {{FlagIWGA}} | ||||
| Central American and Caribbean Games | {{FlagCAC}} | ||||
| Asian Games | {{FlagOCA}} | ||||
| "Nation at Championships"-style | {{Flaglinkteam}} | {{FlagATHCHathlete}} | |||
| Generic | {{Flag}} | {{Flagteam}} | {{Flagathlete}} | {{Flagmedalist}} | |
| Generic (variant) | {{Flaglink}} | {{Flaglinkmedalist}} | |||
| The above documentation is transcluded from Template:FlagIOC2athlete/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |