Padron:MedalCompetition
{{{1}}} |
---|
Purpose
[baguhin ang wikitext]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
[baguhin ang wikitext]Tala ng medalya | |||
---|---|---|---|
Athletics | |||
Olympic Games | |||
Ginto | 2000 Sydney | 400 m | |
Commonwealth Games | |||
Tanso | 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:
[baguhin ang wikitext]Usage example
[baguhin ang wikitext]Tala ng medalya | |||
---|---|---|---|
Athlete name | |||
Manlalaro mula sa Australia | |||
Men's Athletics | |||
Olympic Games | |||
Ginto | 2000 Sydney | 400 m | |
Commonwealth Games | |||
Pilak | 2006 Melbourne | 200 m | |
Tanso | 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}}
Related templates
[baguhin ang wikitext]Heading
[baguhin ang wikitext]{{MedalTableTop}} – with the optional image parameters (see example above):
- Image name without 'Image:'.
- Image size. Default value: 100px.
- Caption. Default value: {{PAGENAME}}.
Deprecated templates:
- {{MedalTop}} and {{MedalTopPic}} – use {{MedalTableTop}} with a competition template
- {{MedalTableTopPic}} – use {{MedalTableTop}} with the same parameters
Sub Headings
[baguhin ang wikitext]{{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)
Awards
[baguhin ang wikitext]{{MedalGold}}
{{MedalSilver}}
{{MedalBronze}}
{{MedalDisqualified}}
- All with the usage: {{MedalType | Year City | Event}} (see example above)
{{MedalTrueSpirit}}
- Usage {{MedalTrueSpirit | Year of award}}
Footer
[baguhin ang wikitext]{{MedalBottom}}