Difference between revisions of "Template:BracketMatchTeams"
Jump to navigation
Jump to search
(Created page with "<includeonly><div class="header"> <div class="left">{{#if:{{{team1|}}}|{{Team2/{{{team1}}}}}|{{#if:{{{team1tf|}}}|<span style="vertical-align:-1px;">{{{team1tf}}}</span>{{Tea...") |
m |
||
Line 6: | Line 6: | ||
Variables transformations | Variables transformations | ||
− | {{#vardefine:team1|{{#ifeq:{{{team1|}}}||{{#ifeq:{{{ | + | --> |
− | {{#vardefine:team2|{{#ifeq:{{{team2|}}}||{{#ifeq:{{{ | + | {{#vardefine:team1|{{#ifeq:{{{team1|}}}||{{#ifeq:{{{team1tf|TBD}}}||TBD}}|{{#ifeq:{{{team1|}}}| |TBD|{{#explode:{{#explode:{{Team/{{{team1|}}}}}|link=|1}}|]]|0}} }}}}}} |
− | + | {{#vardefine:team2|{{#ifeq:{{{team2|}}}||{{#ifeq:{{{team2tf|TBD}}}||TBD}}|{{#ifeq:{{{team2|}}}| |TBD|{{#explode:{{#explode:{{Team/{{{team2|}}}}}|link=|1}}|]]|0}} }}}}}} | |
− | SMW storage - | + | <!-- |
− | {{#subobject:{{#var:team1|{{{ | + | SMW storage |
− | |has team left={{#var:team1|{{{ | + | --> |
− | |has team right={{#var:team2|{{{ | + | {{#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|{{{team1tf|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|}}} | ||
|Has map date={{#var:Match_date}}{{#var:timezone}} | |Has map date={{#var:Match_date}}{{#var:timezone}} | ||
|Has tournament={{FULLPAGENAME}} | |Has tournament={{FULLPAGENAME}} | ||
− | |||
|Has match stream={{#var:stream|}} | |Has match stream={{#var:stream|}} | ||
|Has match vod={{#var:vod|}} | |Has match vod={{#var:vod|}} | ||
Line 36: | Line 37: | ||
|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}} | }}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}} | ||
− | + | ||
</includeonly><noinclude>{{documentation}}</noinclude> | </includeonly><noinclude>{{documentation}}</noinclude> |