Difference between revisions of "Template:MatchMaps"

From comp.tf
Jump to navigation Jump to search
Line 40: Line 40:
 
|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={{#ifeq{{winner|}}|2|{{#var:team2|TBD}}{{#ifeq{{winner|}}|1|{{#var:team1|TBD}}}}}} -->
|Has team won={{#ifeq:{{{winner|}}}|2|{{#var:team2|TBD}}|{{#ifeq:{{{winner|}}}|1|{{#var:team1|TBD}}|}}}}
+
|Has team won={{#switch:{{{winner|}}}
 +
|1={{#var:team1}}
 +
|2={{#var: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|}}

Revision as of 18:28, 25 January 2017

(view - edit) Documentation

This template is used by: