Difference between revisions of "Template:Results"

From comp.tf
Jump to navigation Jump to search
Line 5: Line 5:
 
  ! style="width:28px" | {{abbr|L|Losses}}
 
  ! style="width:28px" | {{abbr|L|Losses}}
 
  ! Qualification
 
  ! Qualification
  ! rowspan="100" style="background-color:white; width:5px" |
+
  ! rowspan="100" style="background-color:white; width:5px; border-top:hidden; border-bottom:hidden" |
 
  ! [[{{#ifexist:File:{{{team1|}}} Icon.png|File:{{{team1|}}} Icon.png|TF icon.png}}|x20px|{{{team1|}}}|link=]]
 
  ! [[{{#ifexist:File:{{{team1|}}} Icon.png|File:{{{team1|}}} Icon.png|TF icon.png}}|x20px|{{{team1|}}}|link=]]
 
  ! [[{{#ifexist:File:{{{team2|}}} Icon.png|File:{{{team2|}}} Icon.png|TF icon.png}}|x20px|{{{team2|}}}|link=]]
 
  ! [[{{#ifexist:File:{{{team2|}}} Icon.png|File:{{{team2|}}} Icon.png|TF icon.png}}|x20px|{{{team2|}}}|link=]]
Line 15: Line 15:
 
  | Advance to playoffs
 
  | Advance to playoffs
 
  | style="background-color:#aaa" |
 
  | style="background-color:#aaa" |
  | {{{team1vsteam2result|}}} - {{{team1vsteam2resultvs|}}}
+
  | style="background-color:{{#if:{{{team1vsteam2result|}}}{{{team1vsteam2resultvs|}}}|{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|rgb(187,255,187)|{{#ifeq:{{{team1vsteam2result|}}}|{{{team1vsteam2resultvs|}}}|rgb(255,255,187)|rgb(255,187,187)}}}}}}" | {{{team1vsteam2result|}}} - {{{team1vsteam2resultvs|}}}
 
|-
 
|-
 
  | 2
 
  | 2
Line 22: Line 22:
 
  | {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
 
  | {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
 
  | Relegated to [[ESEA-IM Season 15|Intermediate]]
 
  | Relegated to [[ESEA-IM Season 15|Intermediate]]
  | {{{team2vsteam1result|}}} - {{{team2vsteam1resultvs|}}}
+
  | style="background-color:{{#if:{{{team2vsteam1result|}}}{{{team2vsteam1resultvs|}}}|{{#ifexpr:{{{team2vsteam1result|}}}>{{{team2vsteam1resultvs|}}}|rgb(187,255,187)|{{#ifeq:{{{team2vsteam1result|}}}|{{{team2vsteam1resultvs|}}}|rgb(255,255,187)|rgb(255,187,187)}}}}}}" | {{{team2vsteam1result|}}} - {{{team2vsteam1resultvs|}}}
 
  | style="background-color:#aaa" |
 
  | style="background-color:#aaa" |
 
|}
 
|}
  
 
{{Box|start|padding=2em}}
 
{{Box|start|padding=2em}}
 +
 
{{Results/round/start|1}}
 
{{Results/round/start|1}}
 
{{#ifeq:{{{team1vsteam2round|}}}|1|{{Results/round/row|{{{team1|}}}|{{{team2|}}}|{{{team1vsteam2result|}}}|{{{team1vsteam2resultvs|}}}}}}}
 
{{#ifeq:{{{team1vsteam2round|}}}|1|{{Results/round/row|{{{team1|}}}|{{{team2|}}}|{{{team1vsteam2result|}}}|{{{team1vsteam2resultvs|}}}}}}}
 
{{#ifeq:{{{team2vsteam1round|}}}|1|{{Results/round/row|{{{team2|}}}|{{{team1|}}}|{{{team2vsteam1result|}}}|{{{team2vsteam1resultvs|}}}}}}}
 
{{#ifeq:{{{team2vsteam1round|}}}|1|{{Results/round/row|{{{team2|}}}|{{{team1|}}}|{{{team2vsteam1result|}}}|{{{team2vsteam1resultvs|}}}}}}}
 
{{Results/round/end}}
 
{{Results/round/end}}
 +
 
{{box|break|padding=2em}}
 
{{box|break|padding=2em}}
 +
 
{{Results/round/start|2}}
 
{{Results/round/start|2}}
 
{{#ifeq:{{{team1vsteam2round|}}}|2|{{Results/round/row|{{{team1|}}}|{{{team2|}}}|{{{team1vsteam2result|}}}|{{{team1vsteam2resultvs|}}}}}}}
 
{{#ifeq:{{{team1vsteam2round|}}}|2|{{Results/round/row|{{{team1|}}}|{{{team2|}}}|{{{team1vsteam2result|}}}|{{{team1vsteam2resultvs|}}}}}}}
 
{{#ifeq:{{{team2vsteam1round|}}}|2|{{Results/round/row|{{{team2|}}}|{{{team1|}}}|{{{team2vsteam1result|}}}|{{{team2vsteam1resultvs|}}}}}}}
 
{{#ifeq:{{{team2vsteam1round|}}}|2|{{Results/round/row|{{{team2|}}}|{{{team1|}}}|{{{team2vsteam1result|}}}|{{{team2vsteam1resultvs|}}}}}}}
 
{{Results/round/end}}
 
{{Results/round/end}}
 +
 
{{box|end}}
 
{{box|end}}

Revision as of 08:59, 22 April 2020

Pos Team W L Qualification x20px link= x20px link=
1 [[TF icon.png link=]] Expression error: Unexpected < operator. Expression error: Unexpected < operator. Advance to playoffs -
2 [[TF icon.png link=]] Expression error: Unexpected < operator. Expression error: Unexpected < operator. Relegated to Intermediate -
Round 1


Round 2