Difference between revisions of "Template:BracketMatchSummary"

From comp.tf
Jump to navigation Jump to search
m
m
Line 8: Line 8:
 
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
 
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
 
-->{{#vardefine:finished|{{{finished|}}}}}<!--
 
-->{{#vardefine:finished|{{{finished|}}}}}<!--
-->{{#vardefine:team1wins|0}}<!--
+
-->{{#subobject:{{#var:team1|{{{team1tf|TBD}}}}}_vs_{{#var:team2|{{{team1tf|TBD}}}}}_at_{{#var:Raw_Match_date|TBD}}{{#var:timezone|}}_in_Match_{{#var:match_number|TBD}}
-->{{#vardefine:team2wins|0}}<!--
+
|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={{#var:team1wins|0}}
 +
|Has team right score={{#var:team2wins|0}}
 +
|has exact time={{#if:{{#var:timezone|}}|true|false}}
 +
}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}<!--
 +
-->
  
 
Maps
 
Maps

Revision as of 01:13, 12 March 2016