шаблони лоиҳаи Викимедиа From Wikipedia, the free encyclopedia
Runner-up | {{{1}}} | {{{2}}} |
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.
Johnson at the London Olympic Stadium | ||
Medal record | ||
---|---|---|
Men's athletics | ||
Representing the ИМА | ||
Sport | {{{2}}} |
Medal record | ||
---|---|---|
Men's athletics | ||
Representing the ИМА | ||
Competition | Olympic Games | |
Gold | 2012 TEST | 100 m |
Silver | 2012 TEST | 100 m |
Bronze | 2012 TEST | 100 m |
Winner | 2012 TEST | 100 m |
Runnerup | 2012 TEST | 100 m |
First | 2012 TEST | 100 m |
Second | 2012 TEST | 100 m |
Third | 2012 TEST | 100 m |
Playoffs | 2012 TEST | 100 m |
Disqualified | 2012 TEST | 100 m |
Sport | Men's bobsled | |
Country | Ямайка | |
Comp | World Bobsled Championships | |
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 | ||
---|---|---|
TrueSpirit | 2012 |
The final type (TrueSpirit) is used for the Pierre de Coubertin medal. This has only one extra field for the year it was awarded.
Medal record | ||
---|---|---|
Disqualified | 2012 TEST | 100 m[1] |
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.
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
International medals | ||
---|---|---|
Men's ice hockey | ||
Representing Канада | ||
World Championship | ||
Silver | 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).
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-serious.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 }} }}
Medal record | ||
---|---|---|
Men's athletics | ||
Representing Австралия | ||
Competition | Olympic Games | |
Gold | 2000 Sydney | 100 m |
Competition | Commonwealth Games | |
Silver | 2006 Melbourne | 200 m |
Bronze | 2006 Melbourne | 400 m |
Medal record | ||
---|---|---|
Representing Great Britain | ||
Sport | Women's rowing | |
Competition | Olympic Games | |
Silver | 2004 Athens | Quadruple sculls |
Sport | Women's track cycling | |
Competition | Olympic Games | |
Gold | 2008 Beijing | Individual pursuit |
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.
Medal record | ||
---|---|---|
Women's badminton | ||
Competition | Olympic Games | |
Country | Индонезия | |
Silver | 1996 Atlanta | Singles |
Country | the Netherlands | |
Silver | 2004 Athens | 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.
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.
For use within Infobox basketball biography, Infobox sportsperson, Infobox swimmer, Infobox track athlete, and other infobox template that support an "embed" function for the medal table. Formatting for the medal table embedded within an infobox generally follows the established formatting of the other examples provided, but duplicate wiki links for the sport name ("MedalSport") and represented country ("MedalCountry") may be eliminated within the embedded medal table.
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]]|}} }}
International medals | ||
---|---|---|
Men's ice hockey | ||
Representing Канада | ||
Competition | World Junior Championships | |
Gold | 2005 Grand Forks | |
Silver | 2004 Helsinki | |
Competition | World Junior U18 Championships | |
Gold | 2003 Yaroslavl | |
Competition | Eight Nations Cup | |
Gold | 2002 Slovakia |
{{MedalTop}}
and {{MedalTopPic}}
– use {{MedalTableTop}}
with {{Medal|Competition|Olympic Games}}
{{MedalTop3}}
– (for Paralympic Games) use {{MedalTableTop}}
{{MedalTableTopPic}}
– use {{MedalTableTop}}
with the same parameters{{MedalOlympic}}
– use {{Medal|Competition|Olympic Games}}
{{MedalParalympic}}
– use {{Medal|Competition|Paralympic Games}}
{{MedalWorldChampionships}}
– use {{Medal|Competition|World Championships}}
{{MedalEuropeanChampionships}}
– use {{Medal|Competition|European Championships}}
{{MedalGold}}
{{MedalSilver}}
{{MedalBronze}}
For competitions differing from Gold, Silver and Bronze terminology
{{MedalW}}
{{MedalRU}}
{{MedalBottom}}
- table now automatically closes by using the |medals= parameter and moving two curly brackets to the end of the templates.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.