Editing
Template:Medal templates documentation
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Medal=== {{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}} }} <pre style="overflow: auto;"> {{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}} }} </pre> The Medal template is a multi-purpose one which allows for all varieties of entries within the medal table. ; Basic usage : <nowiki>{{Medal|TYPE|FIELD1|FIELD2}}</nowiki> There are four major types: * '''Competition''' β This states the general competition at which the following medals were achieved (e.g. [[Olympic Games]], [[Pan Pacific Swimming Championships]]) * '''Medal performances''' β There are ten types of medal performances. These contain two separate fields for the year of the competition and its location (e.g. [[2008 Summer Olympics|2008 Beijing]], [[2010 Commonwealth Games|2010 Delhi]]) and the medalling event or category (e.g. pole vault, 56 kg, 50 m freestyle). The medal types are (with shortcut in brackets): ** '''Gold''' (G) ** '''Silver''' (S) ** '''Bronze''' (B) ** '''Winner''' (W) ** '''Runnerup''' (RU) ** '''First''' (1st) ** '''Second''' (2nd) ** '''Third''' (3rd) ** '''Disqualified''' (DQ) ** '''TrueSpirit''' (PdC) ==== Disqualified ==== {{MedalTableTop|name=no|medals= {{Medal|Disqualified|2012 TEST|100 m}}<ref>Reason for disqualification</ref> }} <pre style="overflow: auto;"> {{MedalTableTop|name=no|medals= {{Medal|Disqualified|2012 TEST|100 m}}<ref>Reason for disqualification</ref> }} </pre> 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. {{reflist}} ==== TrueSpirit ==== {{MedalTableTop|name=no|medals= {{Medal|TrueSpirit|2012}} }} <pre style="overflow: auto;"> {{MedalTableTop|name=no|medals= {{Medal|TrueSpirit|2012}} }} </pre> 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. ==== Multiple countries/sports ==== {{MedalTableTop|name=no|sport=Men's [[road bicycle racing]]|country_code=GBR2|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}} }} <pre style="overflow: auto;"> {{MedalTableTop|name=no|sport=Men's [[road bicycle racing]]|country_code=GBR2|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}} }} </pre> {{-}} {{MedalBox|sport=Men's [[road bicycle racing]]|country={{GBR2}}|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}} }} <pre style="overflow: auto;"> {{MedalBox|sport=Men's [[road bicycle racing]]|country={{GBR2}}|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}} }} </pre> {{-}} 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 * '''Relevant country (or team)''' β This is usually the first section showing the person's relevant country (or team). ** '''Country''' β Enter the country's [[List of IOC country codes|three letter code]] in curly brackets (e.g. {{tl|CHN}} ), including "the" where appropriate (e.g. the {{tl|USA}}, the {{tl|URS}}, the {{tl|MHL}}, the {{tl|UAE}}, the {{tl|GBR}}, the {{tl|BAH}}, the {{tl|NED}}, the {{tl|PHI}}, the {{tl|SEY}}, the {{tl|GAM}}, the {{tl|SOL}}). In rare cases the correct input may be something else (e.g. a team name). ** '''Independent''' - This is used for [[Independent Olympians at the Olympic Games|independent athletes]]. * '''Sport''' β This states the sport that the athlete is competing in (e.g. Women's [[swimming (sport)|swimming]])
Summary:
Please note that all contributions to IDU Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
IDU Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
To edit this page, please answer the question that appears below (
more info
):
Who is the wiki admin
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information