Difference between revisions of "Template:FlagPASOathlete"
Jump to navigation
Jump to search
imported>Primefac m (Protected "Template:FlagPASOathlete": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access...) |
imported>Primefac (tweak) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{ | + | <includeonly>{{flagIOC2athlete|{{{1|}}}|{{{2|}}}|{{{3|}}} Pan American Games}}</includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:24, 14 February 2018
| {{FlagIOC2athlete}} exists as an alternate version of this template. It is to be used for athletes competing in any other multi-sport games that are not the Olympics, Paralympics, or Pan American Games. |
This template is used to simplify creation of Pan American Games results articles.
- flag icon for the athlete's nation before the name
- country code for the athlete's nation after the name
- wikilink from the country code to the appropriate "Country at the year Pan American Games" article
Usage
{{FlagPASOathlete|athlete|code|games}}
- athlete
- Any text string, usually a wikilinked name. Could also be a pair of names.
- code
- Three letter code as per List of IOC country codes
- games
- the year of the games
Examples
{{FlagPASOathlete | [[Jane Testcase]] | ARG | 2003 }}
{{FlagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }}
For comparison, the output of {{FlagPASOmedalist | [[Jane Testcase]] | ARG | 2003 }} is:
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:FlagPASOathlete/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |