Difference between revisions of "Template:Results"

From comp.tf
Jump to navigation Jump to search
Line 1: Line 1:
{| class="wikitable" style="text-align:center"
+
{{Results/table/start}}
! style="width:28px" | {{abbr|Pos|Position}}
+
{{Results/ranker
  ! Team
+
| rank1 = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
! style="width:28px" | {{abbr|W|Wins}}
+
  | rank2 = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
! style="width:28px" | {{abbr|L|Losses}}
+
  | content1 =  
  ! Qualification
+
  ! [[{{#ifexist:File:{{{1|}}} Icon.png|File:{{{1|}}} Icon.png|TF icon.png}}|x20px|{{{1|}}}|link=]]
! rowspan="100" style="background-color:white; width:5px" |
+
| content2 =
  ! [[{{#ifexist:File:{{{team1|}}} Icon.png|File:{{{team1|}}} Icon.png|TF icon.png}}|x20px|{{{team1|}}}|link=]]
+
  ! [[{{#ifexist:File:{{{2|}}} Icon.png|File:{{{2|}}} Icon.png|TF icon.png}}|x20px|{{{2|}}}|link=]]
  ! [[{{#ifexist:File:{{{team2|}}} Icon.png|File:{{{team2|}}} Icon.png|TF icon.png}}|x20px|{{{team2|}}}|link=]]
+
}}
 
|-
 
|-
 
  | 1
 
  | 1
Line 13: Line 13:
 
  | {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
 
  | {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
 
  | {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
 
  | {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
  | Advance to playoffs
+
  | Advance to [[#Playoffs|playoffs]]
 
  | style="background-color:#aaa" |
 
  | style="background-color:#aaa" |
 
  | 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|}}}
 
  | 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|}}}
Line 24: Line 24:
 
  | 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:{{#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" |
|}
+
{{Results/table/end}}
  
 
{{Box|start|padding=2em}}
 
{{Box|start|padding=2em}}

Revision as of 09:31, 22 April 2020

Template:Results/table/start Expression error: Unexpected < operator. |-

| 1
| style="text-align:left" | |link= 
| Expression error: Unexpected < operator.
| Expression error: Unexpected < operator.
| Advance to playoffs
| style="background-color:#aaa" |
| style="background-color:" |  - 

|-

| 2
| style="text-align:left" | |link= 
| Expression error: Unexpected < operator.
| Expression error: Unexpected < operator.
| Relegated to Intermediate
| style="background-color:" |  - 
| style="background-color:#aaa" |

|}

Round 1


Round 2