Difference between revisions of "Template:BracketMatchTeams"

From comp.tf
Jump to navigation Jump to search
m (Undo revision 27010 by Efefknee (talk))
m
Line 6: Line 6:
  
 
Variables transformations
 
Variables transformations
{{#vardefine:team1|{{#ifeq:{{{team1|}}}||{{#ifeq:{{{team1cs|TBD}}}||TBD}}|{{#ifeq:{{{team1|}}}| |TBD|{{#explode:{{#explode:{{Team/{{{team1|}}}}}|link=|1}}|]]|0}} }}}}}}
+
{{#vardefine:team1|{{#ifeq:{{{team1|}}}||{{#ifeq:{{{team1tf|TBD}}}||TBD}}|{{#ifeq:{{{team1|}}}| |TBD|{{#explode:{{#explode:{{Team/{{{team1|}}}}}|link=|1}}|]]|0}} }}}}}}
{{#vardefine:team2|{{#ifeq:{{{team2|}}}||{{#ifeq:{{{team2cs|TBD}}}||TBD}}|{{#ifeq:{{{team2|}}}| |TBD|{{#explode:{{#explode:{{Team/{{{team2|}}}}}|link=|1}}|]]|0}} }}}}}}
+
{{#vardefine:team2|{{#ifeq:{{{team2|}}}||{{#ifeq:{{{team2tf|TBD}}}||TBD}}|{{#ifeq:{{{team2|}}}| |TBD|{{#explode:{{#explode:{{Team/{{{team2|}}}}}|link=|1}}|]]|0}} }}}}}}
  
 
SMW storage - THIS NEEDS EDITING
 
SMW storage - THIS NEEDS EDITING
{{#subobject:{{#var:team1|{{{team1cs|TBD}}}}}_vs_{{#var:team2|{{{team1cs|TBD}}}}}_at_{{#var:Raw_Match_date|TBD}}{{#var:timezone|}}_in_Match_{{#var:match_number|TBD}}
+
{{#subobject:{{#var:team1|{{{team1tf|TBD}}}}}_vs_{{#var:team2|{{{team1tf|TBD}}}}}_at_{{#var:Raw_Match_date|TBD}}{{#var:timezone|}}_in_Match_{{#var:match_number|TBD}}
|has team left={{#var:team1|{{{team1cs|TBD}}}}}
+
|has team left={{#var:team1|{{{team1tf|TBD}}}}}
|has team right={{#var:team2|{{{team2cs|TBD}}}}}
+
|has team right={{#var:team2|{{{team2tf|TBD}}}}}
 
|has team left template name={{{team1|}}}
 
|has team left template name={{{team1|}}}
 
|has team right template name={{{team2|}}}
 
|has team right template name={{{team2|}}}

Revision as of 15:29, 16 May 2016