Difference between revisions 3890961 and 3890962 on simplewiki

{| class="infobox" style="width: 23em; font-size: 90%;"
|- bgcolor="lightsteelblue" align=center
! colspan="3" | '''Medal record'''
|-
{{#ifeq:{{{image|+}}}|{{{image|-}}}| 
{{!}}colspan="3" align="center" bgcolor="white"   {{!}} [[Image:{{{image}}}{{!}}Center{{!}}{{{im_size|100px}}}]]<br /><small>{{{caption|{{PAGENAME}}}}}</small>|}}<noinclude>
|}


<br />
<br />
==Purpose==
Provides the header of a medal record info box, containing the text ''''Medal record''''. 






== Usage ==
Must be used with a terminating {{[[Template:MedalBottom|MedalBottom]]}}


Should not be used with {{[[Template:MedalTop|MedalTop]]}} or {{[[Template:MedalTopPic|MedalTopPic]]}}

===Usage Example===

{{MedalTableTop}}
{{MedalSport | [[athletics (track and field)|Athletics]]}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
{{MedalCompetition|[[Commonwealth Games]]}}
{{MedalBronze | [[2006 Commonwealth Games|2006 Melbourne]] | 400 m }}
{{MedalBottom}}

The table on the right is produced with the code below:

<pre>
{{MedalTableTop}}
{{MedalSport | [[athletics (track and field)|Athletics]]}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
{{MedalCompetition|[[Commonwealth Games]]}}
{{MedalBronze | [[2006 Commonwealth Games|2006 Melbourne]] | 400 m }}
{{MedalBottom}}
</pre>

== Related templates: ==There are three optional named parameters for this template:
# image : specify the image filename of the athlete's photo to display immediately under the Medal Record heading. If this is blank, the other two parameters do nothing
# caption : the caption to display under the image. (can contain wiki-markup)
# im_size : specify the size of the image - defaults to 100px if not specified

{{MedalRelatedTemplates}}</noinclude>