|
1989 Sweden |
Ice hockey
|
साँचा:)
The MedalBox template has a similar output to the MedalTableTop template, but it is specifically designed for non-infobox usages (i.e. mid-article boxes).
- Basic usage
- {{MedalBox|color=|title=|sport=|country=|medals=}}
- color This option changes the color of the box header. If omitted, the default is light grey.
- title This parameter allows you to customise the box title. If omitted, the default is "Medal record".
- sport This displays the athlete's primary sport (e.g. "Men's ice hockey"). This option supersedes the "Medal|Sport" template function.
- country This displays the athlete's primary country or team (e.g. "{{CAN}}"). This option supersedes the "Medal|Country" template function.
- medals This is the only compulsory field as this is used to place medals and descriptions within the box through the {{Medal}} template. To work correctly it must be the last field in the main template.
For competitors who have competed in the same sport for the same country, the templates should be ordered Sport, Country, Competition1, Award, Competition2, Award and so on.
{{MedalTableTop|image=Example.jpg|imagesize=150px|alt=Alt text for image|name=Athlete name
|sport=Men's [[Athletics (sport)|athletics]]|country_code=AUS|medals=
{{Medal|Competition|[[Olympic Games]]}}
{{Medal|Gold|[[2000 Summer Olympics|2000 Sydney]] | [[Athletics at the 2000 Summer Olympics – Men's 100 metres|100 m]] }}
{{Medal|Competition|[[Commonwealth Games]]}}
{{Medal|Silver|[[2006 Commonwealth Games|2006 Melbourne]] | [[Athletics at the 2006 Commonwealth Games|200 m]] }}
{{Medal|Bronze|2006 Melbourne | 400 m }}
}}
Example: Competitor who has won medals in different sports, competing for the same country
For competitors who have won medals in different sports, competing for the same country, the templates should be ordered Country, Sport1, Competition, Award, Sport2, Competition, Award and so on. The example shown is based on Rebecca Romero.
Example: Competitor who has won medals in the same sport, competing for different countries
For competitors who have won medals in the same sport at the same competition, competing for different countries, the templates should be ordered Sport, Competition, Country1, Award, Country2, Award and so on. The example shown is from Mia Audina.
For competitors who have won medals in the same sport at different competitions, competing for different countries, the templates should be ordered Sport, Country1, Competition1, Award, Competition2, Award, Country2, Competition1, Award and so on.
Here is a basic demonstration of the MedalBox template usage:
{{MedalBox|title=International medals|sport=Men's [[ice hockey]]|country={{ih|CAN}}|medals=
{{Medal|Competition|[[World Junior Ice Hockey Championships|World Junior Championships]]}}
{{Medal|Gold|[[2005 World Junior Ice Hockey Championships|2005 Grand Forks]]|}}
{{Medal|Silver|[[2004 World Junior Ice Hockey Championships|2004 Helsinki]]|}}
{{Medal|Competition|[[IIHF World U18 Championships|World Junior U18 Championships]]}}
{{Medal|Gold|[[2003 IIHF World U18 Championships|2003 Yaroslavl]]|}}
{{Medal|Competition|[[Ivan Hlinka Memorial Tournament|Eight Nations Cup]]}}
{{Medal|Gold|[[2002 Ivan Hlinka Memorial Tournament|2002 Slovakia]]|}}
}}
|