Difference between revisions of "Template:Color"

From QWiki
m
m (Updating 1st, 2nd, 3rd, 4th colors to sync with {{MedalColor}})
 
(3 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)
+
  |1
|dire = rgb(231,158,126)
+
  |1st
|1
+
|first = rgb(255,250,167)
|1st
+
  |2
|first = rgb(202,255,202)
+
  |2nd
|2
+
|second = rgb(239,242,242)
|2nd
+
  |3
|second = rgb(227,255,221)
+
  |3rd
|3
+
|third = rgb(248,230,203)
|3rd
+
  |4
|third = rgb(244,255,239)
+
  |4th
|4
+
|fourth = rgb(255,251,249)
|4th
 
|fourth = rgb(250,255,248)
 
 
   |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)
|1light = rgba(255, 215, 57, 0.15)
+
|disqualified
|2light = rgb(242,242,242)
+
|dq = rgb(196,197,211)
|={{{1}}}
+
|{{{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.