Difference between revisions of "User:Sciolyperson1/Template:Medals"
Jump to navigation
Jump to search
(Created page with "{{box |border-width=1 |border-color=#000 |info-background=#fff |logo-background={{medals/color|{{{result|}}}}} |logo-size=12 |logo-color=#000 |logo={{#switch:{{{result|}}} |...") |
Pepperonipi (talk | contribs) (Removing link to main namespace template) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
|border-color=#000 | |border-color=#000 | ||
|info-background=#fff | |info-background=#fff | ||
− | |logo-background={{ | + | |logo-background={{User:Sciolyperson1/Template:Medals/color|{{{result|}}}}} |
|logo-size=12 | |logo-size=12 | ||
|logo-color=#000 | |logo-color=#000 | ||
|logo={{#switch:{{{result|}}} | |logo={{#switch:{{{result|}}} | ||
− | |1= | + | |1=1st |
− | |2= | + | |2=2nd |
− | |3= | + | |3=3rd |
|=? | |=? | ||
|#default={{{result|}}}th}} | |#default={{{result|}}}th}} |
Latest revision as of 05:08, 22 January 2021
? | Sciolyperson1/Template: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 atname
optional - the desired name, overrides page nameyear
optional - 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}} |
|
The above documentation is transcluded from User:Sciolyperson1/Template:Medals/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this page. |