Difference between revisions of "Template:FlagPASOathlete/doc"

From blackwiki
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>{{flagIOC2athlete|[[Jane Testcase]]|ARG|2003}}
+
<pre>{{flagPASOathlete | [[Jane Testcase]] | ARG | 2003 }}</pre>{{flagPASOathlete | [[Jane Testcase]] | ARG | 2003 }}
<pre>{{flagPASOathlete|[[Jane Testcase]] / [[Dave Testcase]]|USA|2007}}</pre>{{flagIOC2athlete|[[Jane Testcase]] / [[Dave Testcase]]|USA|2007}}
+
<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

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

22x20px Jane Testcase (ARG)

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

22x20px Jane Testcase / Dave Testcase (USA)

Issues

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