Difference between revisions of "Template:MedalTableTop"
Jump to navigation
Jump to search
imported>Zyxw (moved style="text-align: center" from <tr> ( |- ) to <th> ( ! ) due to new default setting at MediaWiki:Common.css (see revision of 17:34, 23 June 2015) - tested in /sandbox and /testcases.) |
imported>Sillyfolkboy (allow use of nation for country code) |
||
| Line 11: | Line 11: | ||
! colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} {{{sport}}} | ! colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} {{{sport}}} | ||
{{!}}- }} | {{!}}- }} | ||
| − | {{#if:{{{country_code| }}}|{{!}}- class="adr" | + | {{#if:{{{country_code|{{{nation| }}}}}}|{{!}}- class="adr" |
| − | ! colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} '''Representing {{#switch: {{{country_code}}}| USA = the | URS = the | MHL = the | UAE = the | GBR = the | BAH = the | NED = the | PHI = the | SEY = the | GAM = the | SOL = the |}} {{ {{{country_code}}} }}''' | + | ! 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:{{{medals|}}}|{{{medals|}}} | {{#if:{{{medals|}}}|{{{medals|}}} | ||
Revision as of 13:23, 6 September 2015
| Medal record |
|---|
| The above documentation is transcluded from Template:MedalTableTop/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |