Difference between revisions of "Template:FlagPASOmedalist"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(cleanup (rmv unnecessary PASO flag check))
imported>Primefac
(tweak)
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{{code}}}|yes|{{flagicon image|{{country alias|{{{2}}}|flag=yes|year={{{3|}}}|games=Pan American Games}}}}&nbsp;{{Trim|{{{1}}}}}<br />[[{{country alias|{{{2}}}}} at the {{{3|}}} Pan American Games|{{country alias|{{{2}}}}}]]&nbsp;<span style="font-size:90%;">({{Trim|{{{2}}}}})</span>|{{Trim|{{{1}}}}}<br />{{flagicon image|{{country alias|{{{2}}}|flag=yes|year={{{3|}}}|games=Pan American Games}}}}&nbsp;[[{{country alias|{{{2}}}}} at the {{{3|}}} Pan American Games|{{country alias|{{{2}}}}}]]}}</includeonly><noinclude>
+
<includeonly>{{flagIOC2medalist|code={{{code|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}} Pan American Games}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:42, 14 February 2018

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

Similar to {{FlagPASOathlete}}, but places the country name on a second line.

Usage

{{FlagPASOmedalist|athlete|code|games}}
athlete 
any text string, usually a wikilinked name
code 
three letter code as per List of IOC country codes
games 
the year of the games

Example

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

Jane Testcase
 Argentina

The template gives the option to display the country code, although this is discouraged by MOS guidelines.

  • {{FlagPASOmedalist | [[Jane Testcase]] | ARG | 2003 |code=yes}}
Jane Testcase
 Argentina

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

 Jane Testcase (ARG)

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