Template:MedalCompetition
From Wikipedia, the free encyclopedia
Competition Name |
---|
Contents |
[edit] Purpose
Allows a medal list to include multiple competitions, e.g. Olympic Games, Commonwealth Games, World Championships, National Titles, Goodwill Games, Paralympic Games, etc.
[edit] Usage Example
Medal record | |||
---|---|---|---|
Athletics | |||
Olympic Games | |||
Gold | 2000 Sydney | 400 m | |
Commonwealth Games | |||
Bronze | 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}}
[edit] Related templates:
[edit] Usage example
Medal record | |||
---|---|---|---|
Athlete name |
|||
Competitor for Australia | |||
Men's athletics | |||
Olympic Games | |||
Gold | 2000 Sydney | 400 m | |
Commonwealth Games | |||
Silver | 2006 Melbourne | 200 m | |
Bronze | 2006 Melbourne | 400 m |
{{MedalTableTop|Example.jpg|150px|Athlete name}} {{MedalCountry | {{AUS}} }} {{MedalSport | [[Athletics (track and field)|Athletics]]}} {{MedalCompetition|[[Olympic Games]]}} {{MedalGold | [[2000 Summer Olympics|2000 Sydney]] | [[Athletics at the 2000 Summer Olympics|400 m]] }} {{MedalCompetition|[[Commonwealth Games]]}} {{MedalSilver | [[2006 Commonwealth Games|2006 Melbourne]] | [[Athletics at the 2006 Commonwealth Games|200 m]] }} {{MedalBronze | 2006 Melbourne | 400 m }} {{MedalBottom}}
[edit] Related templates
[edit] Heading
{{MedalTableTop}} – with the optional image parameters (see example above):
- Image name without 'Image:'.
- Image size. Default value: 100px.
- Caption. Default value: {{PAGENAME}}.
Depreciated templates:
- {{MedalTop}} and {{MedalTopPic}} – use {{MedalTableTop}} with a competition template
- {{MedalTableTopPic}} – use {{MedalTableTop}} with the same parameters
[edit] Sub Headings
{{MedalCountry}}
{{MedalSport}}
{{MedalCompetition}}
{{MedalOlympic}} - deprecated (use {{MedalCompetition}} instead)
{{MedalParalympic}} - deprecated (use {{MedalCompetition}} instead)
{{MedalWorldChampionships}} - deprecated (use {{MedalCompetition}} instead)
{{MedalCommonwealthGames }} - deprecated (use {{MedalCompetition}} instead)
{{MedalEuropeanChampionships}} - deprecated (use {{MedalCompetition}} instead)
[edit] Awards
{{MedalGold}}
{{MedalSilver}}
{{MedalBronze}}
{{MedalDisqualified}}
- All with the usage: {{MedalType | Year City | Event}} (see example above)
{{MedalTrueSpirit}}
- Usage {{MedalTrueSpirit | Year of award}}
[edit] Footer
{{MedalBottom}}