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
Line 28: Line 28:
 
   |d  
 
   |d  
 
   |t = rgb(255,255,187)
 
   |t = rgb(255,255,187)
|bye = rgb(242,242,242)
+
|bye = rgb(242,242,242)
 +
|1light = rgba(255, 215, 57, 0.15)
 +
|2light = rgb(242,242,242)
 
|={{{1}}}
 
|={{{1}}}
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 10:37, 4 May 2017

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.