Difference between revisions of "Template:FlagPASOmedalist"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (-z)
imported>Primefac
(cleanup (rmv unnecessary PASO flag check))
Line 1: Line 1:
<includeonly>{{#ifeq:{{{code}}}|yes|{{#ifeq:{{{4|}}}|PASO|[[File:Flag of PASO.svg|23x15px|border|link=|alt=]][[Category:Article using Template:FlagPASOmedalist with PASO flag]]|{{flagicon image|{{country alias|{{{2}}}|flag=yes|year={{{3|}}}|games=Pan American Games}}}}}}&nbsp;{{Trim|{{{1}}}}}<br />[[{{getalias|{{map country code|{{{2}}}}}|shortname}} at the {{{3|}}} Pan American Games|{{getalias|{{map country code|{{{2}}}}}|shortname}}]]&nbsp;<span style="font-size:90%;">({{Trim|{{{2}}}}})</span>|{{Trim|{{{1}}}}}<br />{{#ifeq:{{{4|}}}|PASO|[[File:Flag of PASO.svg|23x15px|border|link=|alt=]][[Category:Article using Template:FlagPASOmedalist with PASO flag]]|{{flagicon image|{{country alias|{{{2}}}|flag=yes|year={{{3|}}}|games=Pan American Games}}}}}}&nbsp;[[{{getalias|{{map country code|{{{2}}}}}|shortname}} at the {{{3|}}} Pan American Games|{{getalias|{{map country code|{{{2}}}}}|shortname}}]]}}</includeonly><noinclude>
+
<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>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 18:44, 14 December 2016

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 (ARG)

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