Difference between revisions of "Template:MedalColor/doc"
From QWiki
m |
m |
||
Line 6: | Line 6: | ||
{|cellpadding="10" | {|cellpadding="10" | ||
− | |style="background-color:{{MedalColor|1}};"|1st | + | |style="border:1px solid #dddddd;text-align:center;height:40px;width:40px;background-color:{{MedalColor|1}};"|1st |
− | |style="background-color:{{MedalColor|2}};"|2nd | + | |style="border:1px solid #dddddd;text-align:center;height:40px;width:40px;background-color:{{MedalColor|2}};"|2nd |
− | |style="background-color:{{MedalColor|3}};"|3rd | + | |style="border:1px solid #dddddd;text-align:center;height:40px;width:40px;background-color:{{MedalColor|3}};"|3rd |
− | |style="background-color:{{MedalColor|4}};"|4th | + | |style="border:1px solid #dddddd;text-align:center;height:40px;width:40px;background-color:{{MedalColor|4}};"|4th |
|} | |} | ||
Latest revision as of 07:39, 9 May 2017
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
1st | 2nd | 3rd | 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.