Difference between revisions of "Template:FlagPASOathlete/doc"
Jump to navigation
Jump to search
imported>Zyxw (→See also: update) |
imported>Zyxw m (misc formatting) |
||
| Line 9: | Line 9: | ||
==Usage== | ==Usage== | ||
| − | <code><nowiki>{{</nowiki>flagPASOathlete|''athlete''|''code''|''games''}}</code> | + | '''<code><nowiki>{{</nowiki>flagPASOathlete|''athlete''|''code''|''games''}}</code>''' |
; athlete : Any text string, usually a wikilinked name. Could also be a pair of names. | ; athlete : Any text string, usually a wikilinked name. Could also be a pair of names. | ||
| Line 19: | Line 19: | ||
==Examples== | ==Examples== | ||
| − | <code><nowiki>{{FlagPASOathlete |[[Jane Testcase]] |ARG |2003 }}</nowiki></code> | + | <code><nowiki>{{FlagPASOathlete|[[Jane Testcase]]|ARG|2003}}</nowiki></code> |
| − | : {{FlagPASOathlete |[[Jane Testcase]] |ARG |2003 }} | + | : {{FlagPASOathlete|[[Jane Testcase]]|ARG|2003}} |
<code><nowiki>{{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }}</nowiki></code> | <code><nowiki>{{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }}</nowiki></code> | ||
: {{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }} | : {{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }} | ||
| − | For comparison, the output of <code><nowiki>{{FlagPASOmedalist |[[Jane Testcase]] |ARG |2003 }}</nowiki></code> is: | + | For comparison, the output of <code><nowiki>{{FlagPASOmedalist|[[Jane Testcase]]|ARG|2003}}</nowiki></code> is: |
| − | : {{FlagPASOmedalist |[[Jane Testcase]] |ARG |2003 }} | + | : {{FlagPASOmedalist|[[Jane Testcase]]|ARG|2003}} |
== See also == | == See also == | ||
Revision as of 01:13, 10 January 2016
| This is a documentation subpage for Template:FlagPASOathlete. It contains usage information, categories and other content that is not part of the original template page. |
| {{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 PanAm 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 "Nation at the year Pan American Games" article
Contents
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
Issues
The template cannot choose historical flags, like {{flagPASO}}.
Examples
{{FlagPASOathlete|[[Jane Testcase]]|ARG|2003}}
{{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }}
For comparison, the output of {{FlagPASOmedalist|[[Jane Testcase]]|ARG|2003}} is:
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}} | |||