Editing Template:BracketMatchTeams

Jump to navigation Jump to search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The system administrator who locked it offered this explanation: We are currently working on upgrading comp.tf. Edits will be locked for most of March 2025, or until further notice. For questions, please contact staff on the comp.tf Discord. I apologise for the inconvenience.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 6: Line 6:
  
 
Variables transformations
 
Variables transformations
-->{{#vardefine:team1|{{#if:{{{team1tf|}}}|{{{team1tf|}}}|{{#ifeq:{{{team1|}}}||TBD|{{#ifeq:{{{team1|}}}|&nbsp;|TBD|{{#ifexist:Template:Team/{{{team1|}}}|{{#explode:{{#explode:{{Team/{{{team1|}}}}}|link=|1}}|]]|0}}|{{{team1|}}}}} }}}}}}}}<!--
+
-->{{#vardefine:team1|{{#ifeq:{{{team1|}}}||{{#ifeq:{{{team1tf|TBD}}}||TBD}}|{{#ifeq:{{{team1|}}}|&nbsp;|TBD|{{#explode:{{#explode:{{Team/{{{team1|}}}}}|link=|1}}|]]|0}} }}}}}}<!--
-->{{#vardefine:team2|{{#if:{{{team2tf|}}}|{{{team2tf|}}}|{{#ifeq:{{{team2|}}}||TBD|{{#ifeq:{{{team2|}}}|&nbsp;|TBD|{{#ifexist:Template:Team/{{{team2|}}}|{{#explode:{{#explode:{{Team/{{{team2|}}}}}|link=|1}}|]]|0}}|{{{team2|}}}}} }}}}}}}}<!--
+
-->{{#vardefine:team2|{{#ifeq:{{{team2|}}}||{{#ifeq:{{{team2tf|TBD}}}||TBD}}|{{#ifeq:{{{team2|}}}|&nbsp;|TBD|{{#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|{{{team1tf|TBD}}}}}_vs_{{#var:team2|{{{team1tf|TBD}}}}}_at_{{#var:Raw_Match_date|TBD}}{{#var:timezone|}}_in_Match_{{#var:match_number|TBD}}
|is map number=1
+
|has team left={{#var:team1|{{{team1tf|TBD}}}}}
|has team left={{#var:team1|TBD}}
+
|has team right={{#var:team2|{{{team2tf|TBD}}}}}
|has team right={{#var:team2|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 sub={{#var:sub1}}
 
|Has sub={{#var:sub2}}
 
|Has sub={{#var:sub3}}
 
|Has sub={{#var:sub4}}
 
|Has sub={{#var:sub5}}
 
|Has replaced={{#var:replaced1|}}
 
|Has replaced={{#var:replaced2|}}
 
|Has replaced={{#var:replaced3|}}
 
|Has replaced={{#var:replaced4|}}
 
|Has replaced={{#var:replaced5|}}
 
 
|Has map date={{#var:Match_date}}{{#var:timezone}}
 
|Has map date={{#var:Match_date}}{{#var:timezone}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament={{FULLPAGENAME}}
Line 39: Line 28:
 
|Has match vodgame8={{#var:vodgame8|}}
 
|Has match vodgame8={{#var:vodgame8|}}
 
|Has match vodgame9={{#var:vodgame9|}}
 
|Has match vodgame9={{#var:vodgame9|}}
-->|Has tournament name={{#var:tournament_ticker_name|{{#var:tournament_name|{{FULLPAGENAME}}}}}}
+
-->{|Has tournament name={{#var:tournament_ticker_name|{{#var:tournament_name|{{FULLPAGENAME}}}}}}
|Is part of series={{#var:tournament_series|}}
 
 
|Has tournament icon={{#var:tournament_icon|}}
 
|Has tournament icon={{#var:tournament_icon|}}
 
|Is finished={{#ifeq:{{#var:finished|}}|true|true|{{#if:{{#var:Match_date|}}|{{#ifexpr:({{#time:U}}-{{#time:U|{{#var:Match_date}}{{#var:timezone}}}}) > 30800|true|false}}|false}}}}
 
|Is finished={{#ifeq:{{#var:finished|}}|true|true|{{#if:{{#var:Match_date|}}|{{#ifexpr:({{#time:U}}-{{#time:U|{{#var:Match_date}}{{#var:timezone}}}}) > 30800|true|false}}|false}}}}
 
|Has team left score={{#var:team1wins|0}}
 
|Has team left score={{#var:team1wins|0}}
 
|Has team right score={{#var:team2wins|0}}
 
|Has team right score={{#var:team2wins|0}}
|Has default={{{default|}}}
 
 
|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}}</includeonly><noinclude>{{documentation}}</noinclude>
 
}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}</noinclude>

Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)