Difference between revisions of "Template:BracketMatchSummary"

From comp.tf
Jump to navigation Jump to search
m
 
(23 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
 
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
 
-->{{#vardefine:finished|{{{finished|}}}}}<!--
 
-->{{#vardefine:finished|{{{finished|}}}}}<!--
-->{{#subobject:{{#var:team1|{{{team1tf|TBD}}}}}_vs_{{#var:team2|{{{team1tf|TBD}}}}}_at_{{#var:Raw_Match_date|TBD}}{{#var:timezone|}}_in_Match_{{#var:match_number|TBD}}
+
-->{{#vardefine:sub1|{{{sub1|}}}}}<!--
|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}}}}
+
-->{{#vardefine:sub2|{{{sub2|}}}}}<!--
|Has team left score={{#var:team1wins|0}}
+
-->{{#vardefine:sub3|{{{sub3|}}}}}<!--
|Has team right score={{#var:team2wins|0}}
+
-->{{#vardefine:sub4|{{{sub4|}}}}}<!--
|has exact time={{#if:{{#var:timezone|}}|true|false}}
+
-->{{#vardefine:sub5|{{{sub5|}}}}}<!--
}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}<!--
+
-->{{#vardefine:replaced1|{{{replaced1|}}}}}<!--
-->
+
-->{{#vardefine:replaced2|{{{replaced2|}}}}}<!--
 +
-->{{#vardefine:replaced3|{{{replaced3|}}}}}<!--
 +
-->{{#vardefine:replaced4|{{{replaced4|}}}}}<!--
 +
-->{{#vardefine:replaced5|{{{replaced5|}}}}}<!--
 +
-->{{#vardefine:stream|{{{stream|}}}}}<!--
  
 
Maps
 
Maps
 
--><div class="matches" style="padding:2px 1px">{{{match1|}}}{{{match2|}}}{{{match3|}}}{{{match4|}}}{{{match5|}}}{{{match6|}}}{{{match7|}}}{{{match8|}}}{{{match9|}}}{{{details|}}}</div><!--
 
--><div class="matches" style="padding:2px 1px">{{{match1|}}}{{{match2|}}}{{{match3|}}}{{{match4|}}}{{{match5|}}}{{{match6|}}}{{{match7|}}}{{{match8|}}}{{{match9|}}}{{{details|}}}</div><!--
 +
 +
Stands-ins
 +
-->{{#if:{{{sub1|}}}{{{replaced1|}}}|<div style="border-top: 1px solid #aaa; padding:2px; font-size:85%; line-height:12.50px; text-align:center;">'''Stands-ins'''<br />'''[[{{{sub1}}}]] &#10230; [[{{{replaced1}}}]]'''}}<!--
 +
-->{{#if:{{{sub2|}}}{{{replaced2|}}}|<br />'''[[{{{sub2}}}]] &#10230; [[{{{replaced2}}}]]'''}}<!--
 +
-->{{#if:{{{sub3|}}}{{{replaced3|}}}|<br />'''[[{{{sub3}}}]] &#10230; [[{{{replaced3}}}]]'''}}<!--
 +
-->{{#if:{{{sub4|}}}{{{replaced4|}}}|<br />'''[[{{{sub4}}}]] &#10230; [[{{{replaced4}}}]]'''}}<!--
 +
-->{{#if:{{{sub5|}}}{{{replaced5|}}}|<br />'''[[{{{sub5}}}]] &#10230; [[{{{replaced5}}}]]'''}}<!--
 +
-->{{#if:{{{sub1|}}}{{{replaced1|}}}{{{sub2|}}}{{{replaced2|}}}{{{sub3|}}}{{{replaced3|}}}{{{sub4|}}}{{{replaced4|}}}{{{sub5|}}}{{{replaced5|}}}|</div>}}<!--
  
 
Comment  
 
Comment  
 
-->{{#if:{{{comment|}}}|<div style="border-top: 1px dotted #aaa; padding:2px; font-size:85%; line-height:12.50px; text-align:left;">{{{comment}}}</div>}}</includeonly>
 
-->{{#if:{{{comment|}}}|<div style="border-top: 1px dotted #aaa; padding:2px; font-size:85%; line-height:12.50px; text-align:left;">{{{comment}}}</div>}}</includeonly>

Latest revision as of 20:25, 26 August 2017