Difference between revisions of "Template:MedalTableTop"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(allow image_size in place of imagesize, same as almost every infobox does)
imported>Zyxw
(Add "country" as used in Template:MedalBox, not displayed if "country_code" is used. Tested with /sandbox and /testcases.)
 
Line 13: Line 13:
 
{{#if:{{{country_code|{{{nation| }}}}}}|{{!}}- class="adr"
 
{{#if:{{{country_code|{{{nation| }}}}}}|{{!}}- class="adr"
 
! colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} Representing {{#switch: {{{country_code|{{{nation}}}}}}| USA =  the | URS =  the | MHL =  the | UAE =  the | GBR =  the | BAH =  the | NED =  the | PHI =  the | SEY =  the | GAM =  the | SOL =  the |}} {{ {{{country_code|{{{nation}}}}}} }}
 
! colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} Representing {{#switch: {{{country_code|{{{nation}}}}}}| USA =  the | URS =  the | MHL =  the | UAE =  the | GBR =  the | BAH =  the | NED =  the | PHI =  the | SEY =  the | GAM =  the | SOL =  the |}} {{ {{{country_code|{{{nation}}}}}} }}
{{!}}- }}
+
{{!}}- |{{#if: {{{country|}}}|{{!}}- class="adr"
 +
! colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} Representing {{{country}}} }}}}
 
{{#if:{{{medals|}}}|{{{medals|}}}
 
{{#if:{{{medals|}}}|{{{medals|}}}
 
{{!}}{{)}}}}<noinclude>
 
{{!}}{{)}}}}<noinclude>

Latest revision as of 19:49, 5 November 2017

Template:PAGENAMEBASE
Medal record