Difference between revisions of "Template:FlagIPC2medalist"

From blackwiki
Jump to navigation Jump to search
imported>Andy M. Wang
(usage)
imported>Primefac
(redirect to functionally identical template)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{code}}}|yes|{{#switch: {{{2}}}
+
#REDIRECT [[Template:FlagIOC2medalist]]
  |AUS |BEL |DEN |ESP |EUN |FRA |FRG |GBR |IPA |IPP |IRL |ITA |LUX |NED |NZL |RSA |SUI |TPE = [[Image:{{country_flag_IPC_alias_{{{2}}}|{{{3|}}}}}|22x20px|border|alt=|link=]]
 
  |#default = [[Image:{{country_flag_IOC_alias_{{{2}}}|{{{3|}}}}}|22x20px|border|alt=|link=]]
 
}}&nbsp;{{Trim|{{{1}}}}}<br />''[[{{country_IOC_alias_{{{2}}}|{{{3|}}}}} at the {{{3|}}}|{{{name|{{country_IOC_alias_{{{2}}}|{{{3|}}}}}}}}]]&nbsp;<span style="font-size:90%;">({{{2}}})</span>''|{{Trim|{{{1}}}}}<br />{{#switch: {{{2}}}
 
  |AUS |BEL |DEN |ESP |EUN |FRA |FRG |GBR |IPA |IPP |IRL |ITA |LUX |NED |NZL |RSA |SUI |TPE = [[Image:{{country_flag_IPC_alias_{{{2}}}|{{{3|}}}}}|22x20px|border|alt=|link=]]
 
  |#default = [[Image:{{country_flag_IOC_alias_{{{2}}}|{{{3|}}}}}|22x20px|border|alt=|link=]]
 
}}&nbsp;''[[{{country_IOC_alias_{{{2}}}|{{{3|}}}}} at the {{{3|}}}|{{{name|{{country_IOC_alias_{{{2}}}|{{{3|}}}}}}}}]]''}}<noinclude>
 
{{documentation|content=
 
 
 
== Usage ==
 
Default usage:
 
*<code><nowiki>{{flagIPC2medalist|[[Li Yansong]]|CHN|2010 Asian Para Games}}</nowiki></code>
 
:{{flagIPC2medalist|[[Li Yansong]]|CHN|2010 Asian Para Games}}
 
 
 
The template gives the option to display the country code, although this is discouraged by MOS guidelines.
 
*<code><nowiki>{{flagIPC2medalist|[[Li Yansong]]|CHN|2010 Asian Para Games|code=yes}}</nowiki></code>
 
:{{flagIPC2medalist|[[Li Yansong]]|CHN|2010 Asian Para Games|code=yes}}
 
 
 
[[Category:Paralympics templates|{{PAGENAME}}]]
 
}}</noinclude>
 

Latest revision as of 03:20, 21 December 2016