Difference between revisions of "Template:Results"

From comp.tf
Jump to navigation Jump to search
Line 1: Line 1:
{{Results/table/start}}
+
{{GarlicResults/tablestart|{{{1st|}}}|{{{2nd|}}}}}
{{Results/ranker/1
 
| 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|}}}
 
}}
 
 
|-
 
|-
 
  | 1
 
  | 1
  | style="text-align:left" | {{Results/ranker/2
+
  | style="text-align:left" | {{Team/{{{1st|}}}}}
    | show = 1
+
| {{#expr:
 
+
        {{#ifexpr:{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{1st|}}}|}}}>{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{2nd|}}}|}}}|+1|+0}}
    | team1rank = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
+
        {{#ifexpr:{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{1st|}}}|}}}>{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{2nd|}}}|}}}|+1|+0}}
    | team1 = {{{team1|}}}
+
  }}
 
+
  | {{#expr:
    | team2rank = {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
+
        {{#ifexpr:{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{1st|}}}|}}}<{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{2nd|}}}|}}}|+1|+0}}
    | team2 = {{{team2|}}}
+
        {{#ifexpr:{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{1st|}}}|}}}<{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{2nd|}}}|}}}|+1|+0}}
}}
+
  }}
 
+
| Advance to [[#Playoffs|playoffs]]
 
 
 
 
 
 
 
 
 
 
  | 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|}}}
+
{{GarlicResults/crosstablematch|{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{1st|}}}|}}}|{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{2nd|}}}|}}}}}
 
|-
 
|-
 
  | 2
 
  | 2
  | style="text-align:left" | [[{{#ifexist:File:{{{team2|}}} Icon.png|File:{{{team2|}}} Icon.png|TF icon.png}}|{{{team2|}}}|link=]] {{#ifexist:{{{team2|}}}|[[{{{team2|}}}]]|{{{team2|}}}}}
+
  | style="text-align:left" | {{Team/{{{2nd|}}}}}
| {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}<{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}>{{{team2vsteam1resultvs|}}}|+1|}}}}
+
| {{#expr:
  | {{#expr:{{#ifexpr:{{{team1vsteam2result|}}}>{{{team1vsteam2resultvs|}}}|+1|+0}}{{#ifexpr:{{{team2vsteam1result|+0}}}<{{{team2vsteam1resultvs|}}}|+1|}}}}
+
        {{#ifexpr:{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{2nd|}}}|}}}>{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{1st|}}}|}}}|+1|+0}}
 +
        {{#ifexpr:{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{2nd|}}}|}}}>{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{1st|}}}|}}}|+1|+0}}
 +
  }}
 +
  | {{#expr:
 +
        {{#ifexpr:{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{2nd|}}}|}}}<{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{1st|}}}|}}}|+1|+0}}
 +
        {{#ifexpr:{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{2nd|}}}|}}}<{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{1st|}}}|}}}|+1|+0}}
 +
  }}
 
  | Relegated to [[ESEA-IM Season 15|Intermediate]]
 
  | Relegated to [[ESEA-IM Season 15|Intermediate]]
| 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|}}}
+
{{GarlicResults/crosstablematch|{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{2nd|}}}|}}}|{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{1st|}}}|}}}}}
 
  | style="background-color:#aaa" |
 
  | style="background-color:#aaa" |
{{Results/table/end}}
+
|}
  
 
{{Box|start|padding=2em}}
 
{{Box|start|padding=2em}}
  
{{Results/round/start|1}}
+
{| class="wikitable" style="text-align:center"
{{#ifeq:{{{team1vsteam2round|}}}|1|{{Results/round/row|{{{team1|}}}|{{{team2|}}}|{{{team1vsteam2result|}}}|{{{team1vsteam2resultvs|}}}}}}}
+
! colspan=5 | Round 1
{{#ifeq:{{{team2vsteam1round|}}}|1|{{Results/round/row|{{{team2|}}}|{{{team1|}}}|{{{team2vsteam1result|}}}|{{{team2vsteam1resultvs|}}}}}}}
+
{{#ifeq:{{{{{{1st|}}}_vs_{{{2nd|}}}/round|}}}|1|{{GarlicResults/roundrow|{{{1st|}}}|{{{2nd|}}}|{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{1st|}}}|}}}|{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{2nd|}}}}}}}}}}
{{Results/round/end}}
+
{{#ifeq:{{{{{{2nd|}}}_vs_{{{1st|}}}/round|}}}|1|{{GarlicResults/roundrow|{{{2nd|}}}|{{{1st|}}}|{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{2nd|}}}|}}}|{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{1st|}}}}}}}}}}
 +
|}
  
 
{{box|break|padding=2em}}
 
{{box|break|padding=2em}}
  
{{Results/round/start|2}}
+
{| class="wikitable" style="text-align:center"
{{#ifeq:{{{team1vsteam2round|}}}|2|{{Results/round/row|{{{team1|}}}|{{{team2|}}}|{{{team1vsteam2result|}}}|{{{team1vsteam2resultvs|}}}}}}}
+
! colspan=5 | Round 2
{{#ifeq:{{{team2vsteam1round|}}}|2|{{Results/round/row|{{{team2|}}}|{{{team1|}}}|{{{team2vsteam1result|}}}|{{{team2vsteam1resultvs|}}}}}}}
+
{{#ifeq:{{{{{{1st|}}}_vs_{{{2nd|}}}/round|}}}|2|{{GarlicResults/roundrow|{{{1st|}}}|{{{2nd|}}}|{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{1st|}}}|}}}|{{{{{{1st|}}}_vs_{{{2nd|}}}/{{{2nd|}}}}}}}}}}
{{Results/round/end}}
+
{{#ifeq:{{{{{{2nd|}}}_vs_{{{1st|}}}/round|}}}|2|{{GarlicResults/roundrow|{{{2nd|}}}|{{{1st|}}}|{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{2nd|}}}|}}}|{{{{{{2nd|}}}_vs_{{{1st|}}}/{{{1st|}}}}}}}}}}
 +
|}
  
 
{{box|end}}
 
{{box|end}}

Revision as of 23:06, 22 April 2020

|-

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

|-

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

|}

Pos Team W D L
Round 1


Round 2