Difference between revisions of "Template:MedalCompetition"

From blackwiki
Jump to navigation Jump to search
imported>Ozhiker
(Add more example competition types)
imported>Ozhiker
(Added default value, added code around template to display properly on this page)
Line 1: Line 1:
|- bgcolor="#cccccc" align=center
+
<noinclude>{| class="infobox" style="width: 25em; font-size: 95%;"
! colspan="4" | {{{1}}}<noinclude>
+
</noinclude>|- bgcolor="#cccccc" align=center
 +
! colspan="4" | {{{1|Competition Name}}}<noinclude>
 +
|}
 
<br />
 
<br />
 
<br />
 
<br />

Revision as of 13:38, 15 August 2006

Competition Name



Purpose

Allows a medal list to include multiple competitions, e.g. Olympic Games, Commonwealth Games, World Championships, National Titles, Goodwill Games, Paralympic Games, etc.

Usage Example

Template:PAGENAMEBASE
Medal record
Olympic Games
Athletics
Gold medal – first place 2000 Sydney 400 m
Commonwealth Games
Bronze medal – third place 2006 Melbourne 400 m

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

{{MedalTableTop}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalSport | [[Athletics]]}}
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
{{MedalCompetition|[[Commonwealth Games]]}}
{MedalBronze | [[2006 Commonwealth Games|2006 Melbourne]] | 400 m }}
{{MedalBottom}}



Related templates: