Difference between revisions of "Template:MedalColor/doc"

From QWiki
(Created page with "This template gives the standard color of the medal to use in tables brackets etc. ===Usage=== <nowiki>{{MedalColor|x}}</nowiki> where x is the medal name or number. ie First,...")
 
m
 
(2 intermediate revisions by the same user not shown)
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
 
|}
 
|}
  
Line 15: Line 15:
 
*'''Medal''' 1, 2, 3, 4, 1st, 2nd, 3rd, 4th, First, Second, Third or Fourth are possible.
 
*'''Medal''' 1, 2, 3, 4, 1st, 2nd, 3rd, 4th, First, Second, Third or Fourth are possible.
  
Adapted from [http://wiki.teamliquid.net/starcraft2/Template:16DEBracket Liquipedia]
+
 
 +
Adapted from [http://wiki.qhlan.org/wiki/Template:MedalColor Liquipedia] under [http://wiki.teamliquid.net/starcraft2/Help:Reusing_and_remixing_Liquipedia_content CC-BY-SA] license.

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.