Difference between revisions of "Template:FlagPASOathlete/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update documemtation, examples, see also)
imported>Zyxw
(moved hatnote from main template)
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]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{caution|{{tl|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.
 
This template is used to simplify creation of [[Pan American Games]] results articles.
Line 28: Line 29:
  
 
== See also ==
 
== See also ==
Similar template for Olympic Games:
+
Similar templates:
 
* [[Template:FlagIOCathlete]]
 
* [[Template:FlagIOCathlete]]
 +
* [[Template:FlagIOC2athlete]]
 
Other templates for Pan American Games:
 
Other templates for Pan American Games:
 +
* [[Template:FlagPASO]]
 
* [[Template:FlagPASOmedalist]]
 
* [[Template:FlagPASOmedalist]]
* [[Template:FlagPASO]]
+
* [[Template:FlagPASOteam]]
* [[Template:Flag PASO team]]
 
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 19:58, 9 January 2016

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

Issues

The template cannot choose historical flags, like {{flagPASO}}.

Examples

{{FlagPASOathlete |[[Jane Testcase]] |ARG |2003 }}

22x20px Jane Testcase (ARG)

{{flagPASOathlete | [[Jane Testcase]] / [[Dave Testcase]] | USA | 2007 }}

 Jane Testcase / Dave Testcase (USA)

For comparison, the output of {{FlagPASOmedalist |[[Jane Testcase]] |ARG |2003 }} is:

Jane Testcase
23x15px Argentina

See also

Similar templates:

Other templates for Pan American Games: