Difference between revisions of "Template:MedalCompetition"
Jump to navigation
Jump to search
imported>Ozhiker (Added default value, added code around template to display properly on this page) |
imported>Ozhiker (Fix usage example) |
||
| Line 10: | Line 10: | ||
==Usage Example== | ==Usage Example== | ||
{{MedalTableTop}} | {{MedalTableTop}} | ||
| + | {{MedalSport | [[Athletics]]}} | ||
{{MedalCompetition|[[Olympic Games]]}} | {{MedalCompetition|[[Olympic Games]]}} | ||
| − | |||
{{MedalGold | [[2000 Summer Olympics|2000 Sydney]] | 400 m }} | {{MedalGold | [[2000 Summer Olympics|2000 Sydney]] | 400 m }} | ||
{{MedalCompetition|[[Commonwealth Games]]}} | {{MedalCompetition|[[Commonwealth Games]]}} | ||
| Line 21: | Line 21: | ||
<pre> | <pre> | ||
{{MedalTableTop}} | {{MedalTableTop}} | ||
| + | {{MedalSport | [[Athletics]]}} | ||
{{MedalCompetition|[[Olympic Games]]}} | {{MedalCompetition|[[Olympic Games]]}} | ||
| − | |||
{{MedalGold | [[2000 Summer Olympics|2000 Sydney]] | 400 m }} | {{MedalGold | [[2000 Summer Olympics|2000 Sydney]] | 400 m }} | ||
{{MedalCompetition|[[Commonwealth Games]]}} | {{MedalCompetition|[[Commonwealth Games]]}} | ||
| − | {MedalBronze | [[2006 Commonwealth Games|2006 Melbourne]] | 400 m }} | + | {{MedalBronze | [[2006 Commonwealth Games|2006 Melbourne]] | 400 m }} |
{{MedalBottom}} | {{MedalBottom}} | ||
</pre> | </pre> | ||
Revision as of 13:57, 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
| Medal record | |||
|---|---|---|---|
| Athletics | |||
| Olympic Games | |||
| 2000 Sydney | 400 m | ||
| Commonwealth Games | |||
| 2006 Melbourne | 400 m | ||
The table on the right is produced with the code below:
{{MedalTableTop}}
{{MedalSport | [[Athletics]]}}
{{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:
- {{MedalTop}}, {{MedalTopPic}}, or {{MedalTableTop}} (use only one)
- {{MedalTrueSpirit}}
- {{MedalOlympic}}
- {{MedalWorldChampionships}}
- {{MedalCompetition}}
- {{MedalSport}}
- {{MedalGold}}
- {{MedalSilver}}
- {{MedalBronze}}
- {{MedalDisqualified}}
- {{MedalBottom}}