Difference between revisions of "Template:BracketMatchTeams"

From comp.tf
Jump to navigation Jump to search
m
m
Line 31: Line 31:
 
|Has tournament icon={{#var:tournament_icon|}}
 
|Has tournament icon={{#var:tournament_icon|}}
 
|Is finished={{#ifeq:{{#var:finished|}}|true|true|{{#if:{{#var:Match_date|}}|{{#ifexpr:({{#time:U}}-{{#time:U|{{#var:Match_date}}{{#var:timezone}}}}) > 30800|true|false}}|false}}}}
 
|Is finished={{#ifeq:{{#var:finished|}}|true|true|{{#if:{{#var:Match_date|}}|{{#ifexpr:({{#time:U}}-{{#time:U|{{#var:Match_date}}{{#var:timezone}}}}) > 30800|true|false}}|false}}}}
|Has team left score={{{games1|}}}
+
|Has team left score={{#var:team1wins|0}}
|Has team right score={{{games2|}}}
+
|Has team right score={{#var:team2wins|0}}
 
|has exact time={{#if:{{#var:timezone|}}|true|false}}
 
|has exact time={{#if:{{#var:timezone|}}|true|false}}
}}{{#vardefine:games1|0}}{{#vardefine:games2|0}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}</noinclude>
+
}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 20:34, 25 January 2017