Àdàkọ:MedalTableTop/doc
Èyí ni ìwé àlàyé ọjọ́ewésubpage fún Àdàkọ:MedalTableTop. Ó ní àlàyé ìlò, àwọn ẹ̀ka àti àkóónú míràn tí wọn kò jẹ́ apá and other content that is not part of the original It contains usage information, categories and other content that is not part of the original template pages.. |
This template is part of the medal record series of templates for building a medal record table.
Examples
[àtúnṣe àmìọ̀rọ̀]For competitors who have competed in the same sport for the same country, the templates should be ordered Country, Sport, Competition1, Award, Competition2, Award and so on.
{{MedalTableTop|Example.jpg|150px|alt=Alt text for image|Athlete name}} {{MedalCountry | {{AUS}} }} {{MedalSport | Men's [[Athletics (sport)|athletics]]}} {{MedalCompetition|[[Olympic Games]]}} {{MedalGold | [[2000 Summer Olympics|2000 Sydney]] | [[Athletics at the 2000 Summer Olympics - Men's 100 metres|100 m]] }} {{MedalCompetition|[[Commonwealth Games]]}} {{MedalSilver | [[2006 Commonwealth Games|2006 Melbourne]] | [[Athletics at the 2006 Commonwealth Games|200 m]] }} {{MedalBronze | 2006 Melbourne | 400 m }} {{MedalBottom}}
Athlete name | |||
Medal record | |||
---|---|---|---|
Adíje fún Australia | |||
Men's athletics | |||
Olympic Games | |||
Wúrà | 2000 Sydney | 100 m | |
Commonwealth Games | |||
Fàdákà | 2006 Melbourne | 200 m | |
Bàbà | 2006 Melbourne | 400 m |
Related templates and usage
[àtúnṣe àmìọ̀rọ̀]The following templates should be used to construct a medal record table.
Opening Heading
[àtúnṣe àmìọ̀rọ̀]{{MedalTableTop}}
– with the optional image parameters (see example above):
- Image name without the 'Image:' or 'File:' prefix.
- Image size. Default value: 100px.
- Caption. This should always be the name of the competitor, with a description of the image if appropriate.
The alt=Alt text
parameter contains a description of the image's visual appearance, for visually impaired readers; see WP:ALT. It should be specified if the image is specified.
Deprecated templates:
{{MedalTop}}
and{{MedalTopPic}}
– use{{MedalTableTop}}
with{{MedalCompetition|Olympic Games}}
{{MedalTableTopPic}}
– use{{MedalTableTop}}
with the same parameters
Main Headings
[àtúnṣe àmìọ̀rọ̀]{{MedalCountry}}
– with the parameter:
- Appropriate template from Wikipedia:Inline templates linking country articles as the first parameter, using the when required
{{MedalSport}}
– with the parameter:
- Gender sport, or Sport — Men's or Women's followed by a link to the sport page piped appropriately, e.g.
Men's [[Athletics (sport)|athletics]]
,Women's [[Rowing (sport)|rowing]]
. For mixed gender sports, link to the sport only
{{MedalCompetition}}
– with the parameter:
- Link to the competition article, e.g.
[[Olympic Games]]
,[[Commonwealth Games]]
Deprecated templates:
{{MedalOlympic}}
– use{{MedalCompetition|Olympic Games}}
{{MedalParalympic}}
– use{{MedalCompetition|Paralympic Games}}
{{MedalWorldChampionships}}
– use{{MedalCompetition}}
{{MedalCommonwealthGames}}
– use{{MedalCompetition|Commonwealth Games}}
{{MedalEuropeanChampionships}}
– use{{MedalCompetition}}
Medal details
[àtúnṣe àmìọ̀rọ̀]{{MedalGold}}
{{MedalSilver}}
{{MedalBronze}}
{{MedalDisqualified}}
- All with the parameters:
- Year City — Year of competition and host city, linked to the appropriate article, e.g.
[[2008 Summer Olympics|2008 Beijing]]
. For multiple awards at the same event, only link the first occurance - Event — Event in which the medal was won, linked to the appropriate article, e.g.
[[Athletics at the 2000 Summer Olympics - Men's 100 metres|100 m]]
. Use a non-breaking space between a value and a unit.
{{MedalTrueSpirit}}
– for athletes awarded with the Pierre de Coubertin medal, with the year of award as the first parameter
Closing Heading
[àtúnṣe àmìọ̀rọ̀]{{MedalBottom}}