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={{{team1|}}}
+
|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|}}

Revision as of 18:42, 25 January 2017

(view - edit) Documentation

This template is used by: