This is a documentation subpage for Template:MedalW. It may contain usage information, categories and other content that is not part of the original template page. |
The Medal infobox series of templates allow editors to list an athlete or sportsperson's major medals at the top of their respective biography article, alongside the lead section.
The medal infobox consists of two templates:
A further template ({{MedalBox}}) is used for listing medals in the middle of the main article text. Do not use {{MedalBox}} inside an infobox.
Johnson at the London Olympic Stadium | ||
Medal record | ||
---|---|---|
Men's athletics | ||
Representing the United States | ||
{{MedalTableTop
| name = Michael Johnson
| image = Michael Johnson at London Olympic Stadium 2010-07 1.JPG
| image_size = 180px
| alt = Alternative text here
| caption = Johnson at the London Olympic Stadium
| sport = Men's [[sport of athletics|athletics]]
| country_code = USA
| medals = {{Medal|Sport}}
}}
Medal record | ||
---|---|---|
Women's basketball | ||
Representing Poland | ||
European Championships | ||
1999 Poland | Team competition |
{{MedalTableTop | name = no | sport = Women's [[basketball]] | country = {{bkw|POL}} | medals =
{{MedalCompetition | [[EuroBasket Women|European Championships]] }}
{{MedalGold | [[EuroBasket Women 1999|1999 Poland]] | Team competition }}
}}
{{BRA}}
which displays Brazil (same output as with |country_code=BRA
), {{bkw|Poland}}
which displays Poland (links to Poland women's national basketball team article), or {{ih|CAN}}
which displays Canada (links to Canada men's national ice hockey team). Include "the" where appropriate (e.g. the {{BHS}}, the {{GMB}}, the {{GBR}}, the {{MHL}}, the {{NLD}}, the {{PHL}}, the {{SYC}}, the {{SLB}}, the {{ARE}}, the {{URS}}, the {{USA}}). This replaces the need for the {{Medal|Country}} template (e.g. {{Medal|Country|{{BRA}}}} or {{Medal|Country|{{bkw|POL}}}}).International medals | ||
---|---|---|
Men's beach volleyball | ||
Representing Brazil | ||
Olympic Games | ||
2012 London | Team |
{{MedalBox|title=International medals|sport=Men's [[beach volleyball]]|country={{BRA}}|medals=
{{Medal|Competition|[[Olympic Games]]}}
{{Medal|Silver|[[2012 Summer Olympics|2012 London]]|[[Beach volleyball at the 2012 Summer Olympics – Men's tournament|Team]]}}
}}
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).
{{BRA}}
which displays Brazil (links to Brazil article), {{bkw|Poland}}
which displays Poland (links to Poland women's national basketball team article), or {{ih|CAN}}
which displays Canada (links to Canada men's national ice hockey team). Include "the" where appropriate (e.g. the {{BHS}}, the {{GMB}}, the {{GBR}}, the {{MHL}}, the {{NLD}}, the {{PHL}}, the {{SYC}}, the {{SLB}}, the {{ARE}}, the {{URS}}, the {{USA}}). This replaces the need for the {{Medal|Country}} template (e.g. {{Medal|Country|{{BRA}}}} or {{Medal|Country|{{bkw|POL}}}}).Medal record | ||
---|---|---|
Men's athletics | ||
Representing the United States | ||
Olympic Games | ||
2012 TEST | 100 m | |
2012 TEST | 100 m | |
2012 TEST | 100 m | |
2012 TEST | 100 m | |
2012 TEST | 100 m | |
2012 TEST | 100 m | |
Winner | 2012 TEST | 100 m |
Winner | 2012 TEST | 100 m |
Runner-up | 2012 TEST | 100 m |
Runner-up | 2012 TEST | 100 m |
Runner-up | 2012 TEST | 100 m |
2012 TEST | 100 m | |
2012 TEST | 100 m | |
2012 TEST | 100 m | |
2012 TEST | 100 m | |
2012 TEST | 100 m | |
2012 TEST | 100 m | |
Disqualified | 2012 TEST | 100 m |
Disqualified | 2012 TEST | 100 m |
Pierre de Coubertin medal | 2012 | |
Pierre de Coubertin medal | 2012 | |
Men's bobsled | ||
Representing Jamaica | ||
World Bobsled Championships | ||
Disqualified | 2013 TEST | Bobsled |
{{MedalTableTop|name=no|sport=Men's [[sport of athletics|athletics]]|country_code=USA|medals=
{{Medal|Competition|[[Olympic Games]]}}
{{Medal|Gold|2012 TEST|100 m}}
{{Medal|G|2012 TEST|100 m}}
{{Medal|Silver|2012 TEST|100 m}}
{{Medal|S|2012 TEST|100 m}}
{{Medal|Bronze|2012 TEST|100 m}}
{{Medal|B|2012 TEST|100 m}}
{{Medal|Winner|2012 TEST|100 m}}
{{Medal|W|2012 TEST|100 m}}
{{Medal|Runnerup|2012 TEST|100 m}}
{{Medal|Runner-up|2012 TEST|100 m}}
{{Medal|RU|2012 TEST|100 m}}
{{Medal|First|2012 TEST|100 m}}
{{Medal|1st|2012 TEST|100 m}}
{{Medal|Second|2012 TEST|100 m}}
{{Medal|2nd|2012 TEST|100 m}}
{{Medal|Third|2012 TEST|100 m}}
{{Medal|3rd|2012 TEST|100 m}}
{{Medal|Disqualified|2012 TEST|100 m}}
{{Medal|DQ|2012 TEST|100 m}}
{{Medal|TrueSpirit|2012}}
{{Medal|PdC|2012}}
{{Medal|Sport|Men's [[bobsled]]}}
{{Medal|Country|{{JAM}}}}
{{Medal|Comp|World Bobsled Championships}}
{{Medal|DQ|2013 TEST|Bobsled}}
}}
The Medal template is a multi-purpose one which allows for all varieties of entries within the medal table.
There are four major types:
Medal record | ||
---|---|---|
Disqualified | 2012 TEST | 100 m[1] |
{{MedalTableTop|name=no|medals=
{{Medal|Disqualified|2012 TEST|100 m}}<ref>Reason for disqualification</ref>
}}
For the disqualified medal template, it is possible to create a reference directly after the template to explain the reason for disqualification. This can be particularly useful in the case of relay runners disqualified through no fault of their own, due to doping by team mates for example.
Medal record | ||
---|---|---|
Pierre de Coubertin medal | 2012 |
{{MedalTableTop|name=no|medals=
{{Medal|TrueSpirit|2012}}
}}
The final medal performances type is used for the Pierre de Coubertin medal. This has only one extra field for the year it was awarded.
Medal record | ||
---|---|---|
Men's road bicycle racing | ||
Representing Great Britain | ||
Olympic Games | ||
2012 London | Event | |
Men's triathlon | ||
Representing England | ||
Commonwealth Games | ||
2014 Glasgow | Event |
{{MedalTableTop|name=no|sport=Men's [[road bicycle racing]]|country_code=GBN|medals=
{{Medal|Comp|[[Olympic Games]]}}
{{Medal|Bronze|[[2012 Summer Olympics|2012 London]]|Event}}
{{Medal|Sport|Men's [[triathlon]]}}
{{Medal|Country|{{ENG}}}}
{{Medal|Comp|[[Commonwealth Games]]}}
{{Medal|Gold|[[2014 Commonwealth Games|2014 Glasgow]]|Event}}
}}
Medal record | ||
---|---|---|
Men's road bicycle racing | ||
Representing Great Britain | ||
Olympic Games | ||
2012 London | Event | |
Men's triathlon | ||
Representing England | ||
Commonwealth Games | ||
2014 Glasgow | Event |
{{MedalBox|sport=Men's [[road bicycle racing]]|country={{GBN}}|medals=
{{Medal|Comp|[[Olympic Games]]}}
{{Medal|Bronze|[[2012 Summer Olympics|2012 London]]|Event}}
{{Medal|Sport|Men's [[triathlon]]}}
{{Medal|Country|{{ENG}}}}
{{Medal|Comp|[[Commonwealth Games]]}}
{{Medal|Gold|[[2014 Commonwealth Games|2014 Glasgow]]|Event}}
}}
Where an athlete has competed for multiple countries or in multiple sports it will be necessary to use the Country or Sport Medal types, in addition to the main sport and country_code listings in the MedalTableTop 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.
Medal record | ||
---|---|---|
Men's athletics | ||
Representing Australia | ||
Olympic Games | ||
2000 Sydney | 100 m | |
Commonwealth Games | ||
2006 Melbourne | 200 m | |
2006 Melbourne | 400 m |
{{MedalTableTop |name=Athlete name |image=Example-serious.jpg |image_size=150px |alt=Alt text for image |sport=Men's [[sport of athletics|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 }}
}}
Medal record | ||
---|---|---|
Representing Great Britain | ||
Women's rowing | ||
Olympic Games | ||
2004 Athens | Quadruple sculls | |
Women's track cycling | ||
Olympic Games | ||
2008 Beijing | Individual pursuit |
{{MedalTableTop |country_code=GBN |medals=
{{Medal|Sport| Women's [[Rowing (sport)|rowing]] }}
{{Medal|Competition| [[Olympic Games]] }}
{{Medal|Silver| [[2004 Summer Olympics|2004 Athens]] | [[Rowing at the 2004 Summer Olympics - Women's quadruple sculls|Quadruple sculls]] }}
{{Medal|Sport| Women's [[track cycling]] }}
{{Medal|Competition| Olympic Games }}
{{Medal|Gold| [[2008 Summer Olympics|2008 Beijing]] | [[Cycling at the 2008 Summer Olympics - Women's individual pursuit|Individual pursuit]] }}
}}
Medal record | ||
---|---|---|
Women's badminton | ||
Olympic Games | ||
Representing Indonesia | ||
1996 Atlanta | Singles | |
Representing the Netherlands | ||
2004 Athens | Singles |
{{MedalTableTop |sport=Women's [[badminton]] |medals=
{{Medal|Competition| [[Olympic Games]] }}
{{Medal|Country | {{IDN}} }}
{{Medal|Silver| [[1996 Summer Olympics|1996 Atlanta]] | [[Badminton at the 1996 Summer Olympics|Singles]] }}
{{Medal|Country | the {{NLD}} }}
{{Medal|Silver| [[2004 Summer Olympics|2004 Athens]] | [[Badminton at the 2004 Summer Olympics - Women's singles|Singles]] }}
}}
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.
Medal record | ||
---|---|---|
Women's badminton | ||
Representing Denmark | ||
Olympic Games | ||
1996 Atlanta | Singles | |
European Championships | ||
2002 Malmö | Singles | |
Representing Sweden | ||
Olympic Games | ||
2004 Athens | Singles |
{{MedalTableTop |sport=Women's [[badminton]] |medals=
{{Medal|Country | {{DNK}} }}
{{Medal|Competition| [[Olympic Games]] }}
{{Medal|Silver| [[1996 Summer Olympics|1996 Atlanta]] | [[Badminton at the 1996 Summer Olympics|Singles]] }}
{{Medal|Competition|[[European Badminton Championships|European Championships]] }}
{{Medal|Bronze| [[2002 European Badminton Championships|2002 Malmö]] | Singles }}
{{Medal|Country| {{SWE}} }}
{{Medal|Competition| [[Olympic Games]] }}
{{Medal|Silver| [[2004 Summer Olympics|2004 Athens]] | [[Badminton at the 2004 Summer Olympics - Women's singles|Singles]] }}
}}
{{Infobox swimmer
| name = Allison Schmitt
| image = <!-- Only free-content images are allowed for depicting living people -- see [[WP:NONFREE]]. -->
| alt =
| caption =
| full_name = Allison Rodgers Schmitt
| nicknames = "Schmitty", "Al", "Allie"
| national_team = {{USA}}
| strokes = [[Freestyle swimming|Freestyle]]
| club = Ann Arbor Swim Club,<br />Club Wolverine,<br />Athens Bulldog Swim Club,<br />[[North Baltimore Aquatic Club]]
| collegeteam = [[Georgia Bulldogs swimming and diving|University of Georgia]]
| birth_date = {{Birth date and age|1990|6|7|mf=y}}
| birth_place = [[Pittsburgh, Pennsylvania]], U.S.
| death_date =
| death_place =
| height = 6 ft 1 in
| weight = 163 lb
| show-medals = yes
| medaltemplates =
{{MedalSport | Women's swimming }}
{{MedalCountry | the United States }}
{{MedalCount
| [[Swimming at the Summer Olympics|Olympic Games]] | 3 | 1 | 2
| [[FINA World Aquatics Championships|World Championships (LC)]] | 1 | 2 | 0
| [[FINA World Swimming Championships (25 m)|World Championships (SC)]] | 3 | 0 | 0
| [[Pan Pacific Swimming Championships|Pan Pacific Championships]] | 2 | 0 | 0
| total = yes
}}
{{MedalCompetition | [[Swimming at the Summer Olympics|Olympic Games]] }}
{{MedalGold | [[2012 Summer Olympics|2012 London]] | [[Swimming at the 2012 Summer Olympics – Women's 200 metre freestyle|200 m freestyle]] }}
{{MedalGold | 2012 London | [[Swimming at the 2012 Summer Olympics – Women's 4 × 200 metre freestyle relay|4×200 m freestyle]] }}
{{MedalGold | 2012 London | [[Swimming at the 2012 Summer Olympics – Women's 4 × 100 metre medley relay|4×100 m medley]] }}
{{MedalSilver | 2012 London | [[Swimming at the 2012 Summer Olympics – Women's 400 metre freestyle|400 m freestyle]] }}
{{MedalBronze | [[2008 Summer Olympics|2008 Beijing]] | [[Swimming at the 2008 Summer Olympics – Women's 4 × 200 metre freestyle relay|4×200 m freestyle]] }}
{{MedalBronze | 2012 London | [[Swimming at the 2012 Summer Olympics – Women's 4 × 100 metre freestyle relay|4×100 m freestyle]] }}
{{MedalCompetition | [[FINA World Aquatics Championships|World Championships (LC)]] }}
{{MedalGold | [[2011 World Aquatics Championships|2011 Shanghai]] | [[Swimming at the 2011 World Aquatics Championships – Women's 4 × 200 metre freestyle relay|4×200 m freestyle]] }}
{{MedalSilver | [[Swimming at the 2009 World Aquatics Championships|2009 Rome]] | [[Swimming at the 2009 World Aquatics Championships – Women's 200 metre freestyle|200 m freestyle]] }}
{{MedalSilver | 2009 Rome | [[Swimming at the 2009 World Aquatics Championships – Women's 4 × 200 metre freestyle relay|4×200 m freestyle]] }}
{{MedalCompetition | [[FINA World Swimming Championships (25 m)|World Championships (SC)]] }}
{{MedalGold | [[2012 FINA World Swimming Championships (25 m)|2012 Istanbul]] | [[2012 FINA World Swimming Championships (25 m) – Women's 200 metre freestyle|200 m freestyle]] }}
{{MedalGold | 2012 Istanbul | [[2012 FINA World Swimming Championships (25 m) – Women's 4 × 100 metre freestyle relay|4×100 m freestyle]] }}
{{MedalGold | 2012 Istanbul | [[2012 FINA World Swimming Championships (25 m) – Women's 4 × 200 metre freestyle relay|4×200 m freestyle]] }}
{{MedalCompetition | [[Pan Pacific Swimming Championships|Pan Pacific Championships]] }}
{{MedalGold | [[2010 Pan Pacific Swimming Championships|2010 Irvine]] | [[2010 Pan Pacific Swimming Championships – Women's 200 metre freestyle|200 m freestyle]] }}
{{MedalGold | 2010 Irvine | [[Swimming at the 2015 Pan American Games – Women's 4 × 200 metre freestyle relay|4×200 m freestyle]] }}
}}
Here is a basic demonstration of the MedalBox template usage:
International medals | ||
---|---|---|
Men's ice hockey | ||
Representing Canada | ||
World Junior Championships | ||
2005 Grand Forks | ||
2004 Helsinki | ||
World Junior U18 Championships | ||
2003 Yaroslavl | ||
Eight Nations Cup | ||
2002 Slovakia |
{{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]]|}}
}}
{{MedalTop}}
and {{MedalTopPic}}
– use {{MedalTableTop}}
with {{Medal|Competition|Olympic Games}}
{{MedalTop3}}
{{MedalTableTop}}
{{MedalTableTopPic}}
{{MedalTableTop}}
with the same parameters{{MedalOlympics}}
– use {{Medal|Competition|Olympic Games}}
{{MedalParalympic}}
{{Medal|Competition|Paralympic Games}}
{{MedalWorldChampionships}}
– use {{Medal|Competition|World Championships}}
{{MedalEuropeanChampionships}}
– use {{Medal|Competition|European Championships}}
{{MedalGold}}
{{MedalSilver}}
{{MedalBronze}}
{{MedalW}}
{{MedalRU}}
{{MedalSport}}
– Use {{Medal|Sport|text}}
.{{MedalBottom}}
– table now automatically closes by using the |medals= parameter and moving two curly brackets to the end of the templates.