Difference between revisions of "Template:FlagPASOathlete/doc"
Jump to navigation
Jump to search
imported>Sillyfolkboy (refine cat) |
imported>Zyxw (→Examples: update) |
||
| Line 15: | Line 15: | ||
==Examples== | ==Examples== | ||
| − | <pre>{{flagPASOathlete|[[Jane Testcase]]|ARG|2003}}</pre>{{ | + | <pre>{{flagPASOathlete | [[Jane Testcase]] | ARG | 2003 }}</pre>{{flagPASOathlete | [[Jane Testcase]] | ARG | 2003 }} |
| − | <pre>{{flagPASOathlete|[[Jane Testcase]] / [[Dave Testcase]]|USA|2007}}</pre>{{ | + | <pre>{{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }}</pre>{{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }} |
==Issues== | ==Issues== | ||
Revision as of 17:49, 5 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. |
Contents
Description
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
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 }}22x20px Jane Testcase / Dave Testcase (USA)
Issues
- template cannot choose historical flags, like {{flagPASO}}