Difference between revisions of "Template:MatchMaps"

From comp.tf
Jump to navigation Jump to search
m
Line 39: Line 39:
 
|Has tournament tier={{#var:tournament_tier|}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
|Has match stream={{{stream|{{#var:stream|}}}}}
 
|Has match stream={{{stream|{{#var:stream|}}}}}
<!--|Has team won={{#ifeq{{winner|}}|2|{{#var:team2|TBD}}{{#ifeq{{winner|}}|1|{{#var:team1|TBD}}}}}} -->
 
|Has team won={{#switch:{{{winner|}}}
 
  |1={{{team1|}}}
 
  |2={{{team2|}}}
 
  |#default=TBD
 
}}
 
 
|Has tournament name={{#var:tournament_ticker_name|{{#var:tournament_name|{{FULLPAGENAME}}}}}}
 
|Has tournament name={{#var:tournament_ticker_name|{{#var:tournament_name|{{FULLPAGENAME}}}}}}
 
|Has tournament icon={{#var:tournament_icon|}}
 
|Has tournament icon={{#var:tournament_icon|}}
Line 51: Line 45:
 
|Has team right score={{{games2|}}}
 
|Has team right score={{{games2|}}}
 
|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:games1|0}}{{#vardefine:games2|0}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}[[Category:Source Liquipedia]]</noinclude>

Revision as of 19:20, 25 January 2017

(view - edit) Documentation

This template is used by: