Difference between revisions of "Template:FlagPASOmedalist"

From blackwiki
Jump to navigation Jump to search
imported>PanchoS
m (standardize using Template:flagicon image)
imported>Primefac
(tweak)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{4|}}}|PASO|[[File:Flag of PASO.svg|22x20px|border|link=|alt=]][[Category:Article using Template:FlagPASOmedalist with PASO flag]]|{{flagicon image|{{country_flag_PASO_alias_{{{2}}}|{{{3|}}}}}}}}}&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><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}}