Template:MedalColor

From QWiki
Revision as of 07:34, 9 May 2017 by Bps (talk | contribs)

Documentation (view - edit)

This template gives the standard color of the medal to use in tables brackets etc.

Usage

{{MedalColor|x}} where x is the medal name or number. ie First, 2nd or 3

Example

style="border:1px solid #dddddd;text-align:center;height:40px;width:40px;background-color:
  1. caffca;"|1st
style="border:1px solid #dddddd;text-align:center;height:40px;width:40px;background-color:
  1. e3ffdd;"|2nd
3rd style="border:1px solid #dddddd;text-align:center;height:40px;width:40px;background-color:
  1. fafff8;"|4th

Variables

  • Medal 1, 2, 3, 4, 1st, 2nd, 3rd, 4th, First, Second, Third or Fourth are possible.


Adapted from Liquipedia under CC-BY-SA license.