Difference between revisions of "Template:FlagIPCathlete/doc"
Jump to navigation
Jump to search
imported>B20180 (+th) |
imported>Andy M. Wang ({{flag templates}}) |
||
| Line 18: | Line 18: | ||
==Examples== | ==Examples== | ||
<pre>{{flagIPCathlete|[[Mark Spitz]]|USA|1972 Summer}}</pre>{{flagIPCathlete|[[Mark Spitz]]|USA|1972 Summer}} | <pre>{{flagIPCathlete|[[Mark Spitz]]|USA|1972 Summer}}</pre>{{flagIPCathlete|[[Mark Spitz]]|USA|1972 Summer}} | ||
| − | <pre>{{flagIPCathlete|[[Jamie Salé]] and [[David Pelletier]]|CAN|2002 Winter}}</pre>{{flagIPCathlete|[[Jamie Salé]] and [[David Pelletier]]|CAN|2002 Winter}}<includeonly> | + | <pre>{{flagIPCathlete|[[Jamie Salé]] and [[David Pelletier]]|CAN|2002 Winter}}</pre>{{flagIPCathlete|[[Jamie Salé]] and [[David Pelletier]]|CAN|2002 Winter}} |
| + | |||
| + | ==See also== | ||
| + | {{flag templates}} | ||
| + | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Paralympics templates|{{PAGENAME}}]] | [[Category:Paralympics templates|{{PAGENAME}}]] | ||
Revision as of 17:23, 2 May 2016
| This is a documentation subpage for Template:FlagIPCathlete. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Description
This template is used to simplify creation of Paralympic results articles. It expands upon the infrastructure developed for the {{FlagIPC}} template to render the following additions to an athlete's name:
- 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 Paralympics" article
Usage
{{FlagIPCathlete|athlete|code|games}}
- athlete
- Any text string, usually a wikilinked name. Could also be a pair of names, for example.
- code
- Three letter code as per List of IOC country codes
- games
- String of the form "<year> Summer" or "<year> Winter"
Note that the combination of code and games parameters will automatically choose the correct flag for the nation (including historical flags for nations in which they have changed over the years) and the correct wikilink to the nation's article.
Examples
{{flagIPCathlete|[[Mark Spitz]]|USA|1972 Summer}}{{flagIPCathlete|[[Jamie Salé]] and [[David Pelletier]]|CAN|2002 Winter}}
Jamie Salé and David Pelletier (CAN)
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}} | |||