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!
===MedalBox=== {{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]]}} }} <pre style="overflow: auto;"> {{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]]}} }} </pre> {{clear}} 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: <nowiki>{{MedalBox |color= |title= |sport= |country= |medals= }}</nowiki> * '''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 [[beach volleyball]]"). This option supersedes the "Medal|Sport" template function. * '''country''' β This displays the athlete's primary country or team using text or a template, such as {{tl2|BRA}} which displays {{BRA}} (links to [[Brazil]] article), {{tl2|bkw|Poland}} which displays {{bkw|POL}} (links to [[Poland women's national basketball team]] article), or {{tl2|ih|CAN}} which displays {{ih|CAN}} (links to [[Canada men's national ice hockey team]]). Include "the" where appropriate (e.g. the {{tl|BAH}}, the {{tl|GAM}}, the {{tl|GBR}}, the {{tl|MHL}}, the {{tl|NED}}, the {{tl|PHI}}, the {{tl|SEY}}, the {{tl|SOL}}, the {{tl|UAE}}, the {{tl|URS}}, the {{tl|USA}}). This replaces the need for the <nowiki>{{Medal|Country}}</nowiki> template (e.g. <nowiki>{{Medal|Country|{{BRA}}}}</nowiki> or <nowiki>{{Medal|Country|{{bkw|POL}}}}</nowiki>). * '''medals''' β This is the only compulsory field as this is used to place medals and descriptions within the box through the {{tl|Medal}} template. To work correctly it must be the last field in the main template.
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