Difference between revisions of "Template:MedalCompetition"

From blackwiki
Jump to navigation Jump to search
imported>Ozhiker
(Creation to allow a medal list to include multiple competitions)
 
imported>Ozhiker
(Add more example competition types)
Line 4: Line 4:
 
<br />
 
<br />
 
==Purpose==
 
==Purpose==
Allows a medal list to include multiple competitions, e.g. Olympic Games, Commonwealth Games, World Championships, National Titles, etc.
+
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==
 
==Usage Example==

Revision as of 13:13, 15 August 2006

|- bgcolor="#cccccc" align=center ! colspan="4" | {{{1}}}

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: