Difference between revisions of "Template:MatchMaps"

From comp.tf
Jump to navigation Jump to search
(Undo revision 45170 by Cirlo (talk))
Line 42: Line 42:
 
|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={{#var:team1wins|1}}
+
|Has team left score={{#var:team1wins|0}}
 
|Has team right score={{#var:team2wins|0}}
 
|Has team right score={{#var:team2wins|0}}
 
|has exact time={{#if:{{#var:timezone|}}|true|false}}
 
|has exact time={{#if:{{#var:timezone|}}|true|false}}
}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}[[Category:Source Liquipedia]]</noinclude>
+
}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|2}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}[[Category:Source Liquipedia]]</noinclude>

Revision as of 18:00, 25 January 2017

(view - edit) Documentation

This template is used by: