Difference between revisions of "Template:MatchMaps"

From comp.tf
Jump to navigation Jump to search
m
m
Line 27: Line 27:
  
 
Variables transformations
 
Variables transformations
-->{{#vardefine:team1|{{#ifeq:{{{team1|}}}||TBD|{{#ifeq:{{{team1|}}}|&nbsp;|TBD|{{#explode:{{#explode:{{Team/{{{team1|}}}}}|link=|1}}|]]|0}} }}}}}}<!--
+
-->{{#vardefine:team1|{{#ifeq:{{{team1|}}}||CHEESE|{{#ifeq:{{{team1|}}}|&nbsp;|CHEESE|{{#explode:{{#explode:{{Team/{{{team1|}}}}}|link=|1}}|]]|0}} }}}}}}<!--
-->{{#vardefine:team2|{{#ifeq:{{{team2|}}}||TBD|{{#ifeq:{{{team2|}}}|&nbsp;|TBD|{{#explode:{{#explode:{{Team/{{{team2|}}}}}|link=|1}}|]]|0}} }}}}}}<!--
+
-->{{#vardefine:team2|{{#ifeq:{{{team2|}}}||CHEESE|{{#ifeq:{{{team2|}}}|&nbsp;|CHEESE|{{#explode:{{#explode:{{Team/{{{team2|}}}}}|link=|1}}|]]|0}} }}}}}}<!--
 
SMW storage
 
SMW storage
-->{{#subobject:{{#var:team1|TBD}}_vs_{{#var:team2|TBD}}_at_{{#var:Raw_Match_date|TBD}}{{#var:timezone|}}_in_Match_{{#var:match_number|TBD}}
+
-->{{#subobject:{{#var:team1|CHEESE}}_vs_{{#var:team2|CHEESE}}_at_{{#var:Raw_Match_date|CHEESE}}{{#var:timezone|}}_in_Match_{{#var:match_number|CHEESE}}
 
|is map number=1
 
|is map number=1
|has team left={{#var:team1|TBD}}
+
|has team left={{#var:team1|CHEESE}}
|has team right={{#var:team2|TBD}}
+
|has team right={{#var:team2|CHEESE}}
 
|Has map date={{#var:Match_date}}{{#var:timezone}}
 
|Has map date={{#var:Match_date}}{{#var:timezone}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament={{FULLPAGENAME}}

Revision as of 18:03, 17 May 2016

(view - edit) Documentation

This template is used by: