Difference between revisions of "Template:Color"

From QWiki
(Created page with "<includeonly>{{#switch:{{lc:{{{1}}}}} |radiant = rgb(188,217,133) |dire = rgb(231,158,126) |1 |1st |first = rgb(255,215,57) |2 |2nd |second = rgb(190,190,190) |3 |...")
 
m (Updating 1st, 2nd, 3rd, 4th colors to sync with {{MedalColor}})
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#switch:{{lc:{{{1}}}}}
 
<includeonly>{{#switch:{{lc:{{{1}}}}}
|radiant = rgb(188,217,133)
 
|dire = rgb(231,158,126)
 
 
   |1
 
   |1
 
   |1st
 
   |1st
|first = rgb(255,215,57)
+
|first = rgb(255,250,167)
 
   |2
 
   |2
 
   |2nd
 
   |2nd
|second = rgb(190,190,190)
+
|second = rgb(239,242,242)
 
   |3
 
   |3
 
   |3rd
 
   |3rd
|third = rgb(187,134,68)
+
|third = rgb(248,230,203)
 
   |4
 
   |4
 
   |4th
 
   |4th
|fourth = rgb(248,153,107)
+
|fourth = rgb(255,251,249)
 
   |proceed
 
   |proceed
 
   |win
 
   |win
 
   |w
 
   |w
|up = rgb(204,255,204)
+
|byeup = rgb(232,221,239)
|stayup = rgb(238,255,170)
+
|seedup = rgb(219,237,237)
|stay = rgb(255,255,153)
+
|up = rgb(221,244,221)
|staydown = rgb(255,221,170)
+
|stayup = rgb(229,244,198)
 +
|stay = rgb(249,240,199)
 +
|staydown = rgb(249,222,199)
 
   |drop
 
   |drop
 
   |down
 
   |down
 
|lose  
 
|lose  
   |l = rgb(255,204,204)
+
   |l = rgb(251,223,223)
 
|draw  
 
|draw  
 
   |d  
 
   |d  
 
   |t = rgb(255,255,187)
 
   |t = rgb(255,255,187)
 
|bye = rgb(242,242,242)
 
|bye = rgb(242,242,242)
|={{{1}}}
+
|disqualified
 +
|dq = rgb(196,197,211)
 +
|{{{1}}}
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 09:34, 16 March 2021

Documentation (view - edit)

This template is used to get the right color code for the given argument. Possible values can be used:

Colors
1
1st
first
When a team is placed first.
2
2nd
second
When a team is placed second.
3
3rd
third
When a team is placed third.
4
4th
fourth
When a team is placed fourth.
up
When a team goes up in a league
proceed
When a team proceeds to the next round
win
When a team wins something
stayup
When a team advances in a round, but behind the teams which advances directly (see 'up').
stay
When a team didn't advances, but is still qualified for the next season/cup.
draw
When a match ended with a draw
staydown
When a team loses in a ladder/season/cup, but is still qualified for the next ladder/season/cup.
drop
When a team loses a tournament
down
When a team dropped out of a tournament/ladder/cup for the next season.
lose
When a team loses something
bye
When a team got a bye/walk over.
dq
When a team got disqualified.

Adapted from Liquipedia.