Template:Medal

Revision as of 23:47, 20 June 2015 by Warwolf30 (talk | contribs) (Created page with "<includeonly>{{#switch:{{lc: {{{1|}}} }} |1 |1st |g |gold |first = link=|alt=Gold |2 |2nd |s |silver |second |runner-up =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

(view - edit) Documentation

This template returns the corresponding medal icon based on the input.

Usage

There is only one variable. Set this to the respective number or medal denomination.

Possible values
1, 2, 3 or 4, (written in letters is also possible) 
1st, 2nd, 3rd or 4th
Gold, Silver, Bronze or Copper (not case sensitive)

Example

This code
{{Medal|1}}
{{Medal|2nd}}
{{Medal|bronzE}}
{{Medal|fourth}}
Returns this

Gold Silver Bronze Copper