Difference between revisions of "Template:GarlicResults/crosstablematch"

From comp.tf
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<td style="background-color:{{#if:{{{1|}}}{{{2|}}}|{{#ifexpr:{{{1|}}}>{{{2|}}}|rgb(187,255,187)|{{#ifexpr:{{{1|}}}<{{{2|}}}|rgb(255,187,187)|rgb(255,255,187)}}}}|white}}">{{{1|}}} - {{{2|}}}</td>
+
<td style="background-color:{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#switch:{{lc:{{{1|}}}}}<!--
 +
-->|w=rgb(187,255,187)<!--
 +
-->|l=rgb(255,187,187)<!--
 +
-->|#default={{#ifexpr:{{{1|}}}>{{{2|}}}|rgb(187,255,187)|{{#ifexpr:{{{1|}}}={{{2|}}}|rgb(255,255,187)|{{#ifexpr:{{{1|}}}<{{{2|}}}|rgb(255,187,187)|}}}}}}}}|rgb(249,249,249)}}|rgb(249,249,249)}}">{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{{1|}}} - {{{2|}}}|}}|}}</td>

Latest revision as of 05:19, 23 April 2020