Difference between revisions of "Template:MedalCompetition"

From blackwiki
Jump to navigation Jump to search
imported>Ozhiker
(Fix usage example)
imported>Usgnus
m (dab athletics)
Line 10: Line 10:
 
==Usage Example==
 
==Usage Example==
 
{{MedalTableTop}}
 
{{MedalTableTop}}
{{MedalSport | [[Athletics]]}}
+
{{MedalSport | [[Athletics (track and field)|Athletics]]}}
 
{{MedalCompetition|[[Olympic Games]]}}
 
{{MedalCompetition|[[Olympic Games]]}}
 
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
 
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
Line 21: Line 21:
 
<pre>
 
<pre>
 
{{MedalTableTop}}
 
{{MedalTableTop}}
{{MedalSport | [[Athletics]]}}
+
{{MedalSport | [[Athletics (track and field)|]]}}
 
{{MedalCompetition|[[Olympic Games]]}}
 
{{MedalCompetition|[[Olympic Games]]}}
 
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
 
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}

Revision as of 20:11, 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
Athletics
Olympic Games
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}}
{{MedalSport | [[Athletics (track and field)|]]}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
{{MedalCompetition|[[Commonwealth Games]]}}
{{MedalBronze | [[2006 Commonwealth Games|2006 Melbourne]] | 400 m }}
{{MedalBottom}}



Related templates: