Template:Medals: Difference between revisions
Appearance
Jaspattack (talk | contribs) adding support for year parameter, updating documentation |
m Removed `float` parameter definition. |
||
| Line 1: | Line 1: | ||
{{box | {{box | ||
|border-width=1 | |border-width=1 | ||
|border-color=#000 | |border-color=#000 | ||
Latest revision as of 16:45, 13 October 2020
| ? | Medals has received a ? medal in an event at a competition. |
The Medals template is a userbox template for displaying medals on a userpage.
Parameters
result- the ranking attained in the form of an integerevent- the event that the user received a medal forcompetition- the competition the user received the medal atnameoptional - the desired name, overrides page nameyearoptional - the year in which the medal was received
Examples
| Code | Result | ||
|---|---|---|---|
{{medals
|result=1
|event=Astronomy
|competition=Northwest Canada Regionals
|name=Woodrow Wilson
|year=1973}}
|
| ||
{{medals
|result=3
|event=Designer Genes
|competition=the National Tournament
|year=2019}}
|
|