Difference between revisions of "Template:Results"

From comp.tf
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Results/table/start}}
 
{{Results/table/start}}
{{Results/ranker
+
{{Results/ranker/1
  | rank1 = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
+
  | team1rank = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
  | rank2 = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
+
  | team1 = {{{team1|}}}
  | content1 =
+
 
! [[{{#ifexist:File:{{{team1|}}} Icon.png|File:{{{team1|}}} Icon.png|TF icon.png}}|x20px|{{{team1|}}}|link=]]
+
| team2rank = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
| content2 =
+
  | team2 = {{{team2|}}}
! [[{{#ifexist:File:{{{team2|}}} Icon.png|File:{{{team2|}}} Icon.png|TF icon.png}}|x20px|{{{team2|}}}|link=]]
 
 
}}
 
}}
 
|-
 
|-
 
  | 1
 
  | 1
  | style="text-align:left" | [[{{#ifexist:File:{{{team1|}}} Icon.png|File:{{{team1|}}} Icon.png|TF icon.png}}|{{{team1|}}}|link=]] {{#ifexist:{{{team1|}}}|[[{{{team1|}}}]]|{{{team1|}}}}}
+
  | style="text-align:left" | {{Results/ranker/2
  | {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
+
    | show = 1
  | {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
+
 
| Advance to [[#Playoffs|playoffs]]
+
    | team1rank = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
 +
    | team1 = {{{team1|}}}
 +
 
 +
    | team2rank = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
 +
    | team2 = {{{team2|}}}
 +
}}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
  | team2wins = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
 +
  | team2losses = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
  | 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|}}}

Revision as of 11:40, 22 April 2020

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

| 1
| style="text-align:left" | Template:Results/ranker/2




| team2wins = Expression error: Unexpected < operator.
| team2losses = Expression error: Unexpected < operator.





| 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