Difference between revisions of "User:Sciolyperson1/Template:Medals"

From Wiki - Scioly.org
Jump to: navigation, search
Line 3: Line 3:
 
|border-color=#000
 
|border-color=#000
 
|info-background=#fff
 
|info-background=#fff
|logo-background={{Sciolyperson1/medals/color|{{{result|}}}}}
+
|logo-background={{Sciolyperson1/Medals/color|{{{result|}}}}}
 
|logo-size=12
 
|logo-size=12
 
|logo-color=#000
 
|logo-color=#000

Revision as of 15:19, 21 January 2021

style="width: 45px; height: 45px; background: Template:Sciolyperson1/Medals/color; text-align: center; font-size: 12pt; color: #000;" | ? Sciolyperson1/Template:Medals has received a ? medal in an event at a competition.
Documentation[view] [edit] [history] [purge]

The Medals template is a userbox template for displaying medals on a userpage.

Parameters

result - the ranking attained in the form of an integer
event - the event that the user received a medal for
competition - the competition the user received the medal at
name optional - the desired name, overrides page name
year 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}}
Gold Woodrow Wilson has received a Gold medal in Astronomy at Northwest Canada Regionals in 1973.
{{medals
|result=3
|event=Designer Genes
|competition=the National Tournament
|year=2019}}
Bronze Sciolyperson1/Template:Medals has received a Bronze medal in Designer Genes at the National Tournament in 2019.