Difference between revisions of "Template:FlagPASOathlete/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Sillyfolkboy
(refine cat)
Line 21: Line 21:
 
*template cannot choose historical flags, like {{tl|flagPASO}}
 
*template cannot choose historical flags, like {{tl|flagPASO}}
 
<includeonly>
 
<includeonly>
[[Category:Multi-sport events templates]]
+
[[Category:Pan American Games flag templates]]
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
</includeonly>
 
</includeonly>

Revision as of 20:09, 28 October 2014

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}}

 Jane Testcase (ARG)

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

 Jane Testcase / Dave Testcase (USA)

Issues

  • template cannot choose historical flags, like {{flagPASO}}