Difference between revisions of "Template:MedalBox/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(copy of current template)
imported>Zyxw
(moved style="text-align: center" from <tr> ( |- ) to <th> ( ! ) or <td> ( | ) due to new default setting at MediaWiki:Common.css (see revision of 17:34, 23 June 2015))
 
Line 1: Line 1:
{| class="infobox" style="width: 22em"
+
{| class="infobox" style="width:22em;"
|- style="background-color: {{{color|#ccc}}}; text-align:center"
 
! colspan=3 | {{{title|Medal record}}}
 
 
|-
 
|-
{{#if:{{{sport| }}}|{{!}}- style="background-color:#eeeeee;text-align:center;"
+
! colspan="3" style="text-align:center; background-color:{{{color|#ccc}}};" | {{{title|Medal record}}}
{{!}}colspan="3"{{!}} '''{{{sport|}}}''' }}
 
{{#if:{{{country| }}}|
 
{{!}}- style="background-color:#eeeeee;text-align:center;" class="adr"
 
{{!}}colspan="3"{{!}} '''Representing <span class="country-name">{{{country|}}}</span>'''}}
 
 
|-
 
|-
{{#if:{{{medals|}}}|{{{medals|}}}
+
{{#if: {{{sport|}}} |{{!}}-
 +
{{!}} colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} '''{{{sport}}}''' }}
 +
{{#if: {{{country|}}} |
 +
{{!}}- class="adr"
 +
{{!}} colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} '''Representing <span class="country-name">{{{country}}}</span>'''}}
 +
|-
 +
{{#if: {{{medals|}}} |{{{medals}}}
 
{{!}}{{)}}}}<noinclude>
 
{{!}}{{)}}}}<noinclude>
 
|}
 
|}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 08:49, 24 June 2015

Medal record