Difference between revisions of "Template:FlagPASOathlete"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Protected "Template:FlagPASOathlete": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access...)
imported>Primefac
(tweak)
 
Line 1: Line 1:
<includeonly>{{flagicon image|{{country alias|{{{2}}}|flag=yes|year={{{3|}}}|games=Pan American Games}}}}&nbsp;{{Trim|{{{1}}}}}&nbsp;<span style="font-size:90%;">([[{{country alias|{{{2}}}}} at the {{{3|}}} Pan American Games|{{Trim|{{{2}}}}}]])</span></includeonly><noinclude>
+
<includeonly>{{flagIOC2athlete|{{{1|}}}|{{{2|}}}|{{{3|}}} Pan American Games}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:24, 14 February 2018

Template documentation[view] [edit] [history] [purge]

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 "Country 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)

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

Jane Testcase
 Argentina

Supporting templates

See also

Output style → Country name Country (code) Athlete (country) Athlete
Country
Country code
Olympic Games {{FlagIOC}} {{FlagIOCteam}} {{FlagIOCathlete}} {{FlagIOCmedalist}} {{FlagIOCshort}}
Other games {{FlagIOC2}} {{FlagIOC2team}} {{FlagIOC2athlete}} {{FlagIOC2medalist}} {{FlagIOC2short}}
Paralympic Games {{FlagIPC}} {{FlagIPCteam}} {{FlagIPCathlete}} {{FlagIPCmedalist}} {{FlagIPCshort}}
Pan American {{FlagPASO}} {{FlagPASOteam}} {{FlagPASOathlete}} {{FlagPASOmedalist}}
Parapan American {{FlagPPASO}}
Commonwealth {{FlagCGF}} {{FlagCGFteam}} {{FlagCGFathlete}} {{FlagCGFmedalist}}
Southeast Asian {{FlagSEAGF}} {{FlagSEAGFteam}} {{FlagSEAGFathlete}} {{FlagSEAGFmedalist}}
World Games {{FlagIWGA}}
Central American and Caribbean Games {{FlagCAC}}
Asian Games {{FlagOCA}}
"Nation at Championships"-style {{Flaglinkteam}} {{FlagATHCHathlete}}
Generic {{Flag}} {{Flagteam}} {{Flagathlete}} {{Flagmedalist}}
Generic (variant) {{Flaglink}} {{Flaglinkmedalist}}