Difference between revisions of "Template:FlagPASOathlete/doc"
Jump to navigation
Jump to search
imported>Zyxw (→Examples: update) |
imported>Zyxw (update documemtation, examples, see also) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
| − | + | ||
| − | This template is used to simplify creation of Pan American Games results articles. | + | This template is used to simplify creation of [[Pan American Games]] results articles. |
| − | *flag icon for the athlete's nation before the name | + | * flag icon for the athlete's nation before the name |
| − | *country code for the athlete's nation after 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 | + | * wikilink from the country code to the appropriate "''Nation'' at the ''year'' Pan American Games" article |
==Usage== | ==Usage== | ||
| − | + | <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. |
| − | ;code: Three letter code as per [[List of IOC country codes]] | + | ; code : Three letter code as per [[List of IOC country codes]] |
| − | ;games: the year of the games | + | ; games : the year of the games |
| + | |||
| + | ===Issues=== | ||
| + | The template cannot choose historical flags, like {{tl|flagPASO}}. | ||
==Examples== | ==Examples== | ||
| − | < | + | <code><nowiki>{{FlagPASOathlete |[[Jane Testcase]] |ARG |2003 }}</nowiki></code> |
| − | < | + | : {{FlagPASOathlete |[[Jane Testcase]] |ARG |2003 }} |
| + | |||
| + | <code><nowiki>{{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }}</nowiki></code> | ||
| + | : {{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }} | ||
| + | |||
| + | For comparison, the output of <code><nowiki>{{FlagPASOmedalist |[[Jane Testcase]] |ARG |2003 }}</nowiki></code> is: | ||
| + | : {{FlagPASOmedalist |[[Jane Testcase]] |ARG |2003 }} | ||
| − | == | + | == See also == |
| − | * | + | Similar template for Olympic Games: |
| − | < | + | * [[Template:FlagIOCathlete]] |
| + | Other templates for Pan American Games: | ||
| + | * [[Template:FlagPASOmedalist]] | ||
| + | * [[Template:FlagPASO]] | ||
| + | * [[Template:Flag PASO team]] | ||
| + | |||
| + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
| + | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Pan American Games flag templates]] | [[Category:Pan American Games flag templates]] | ||
| − | + | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 19:52, 9 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. |
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
Similar template for Olympic Games:
Other templates for Pan American Games: