Difference between revisions of "Template:BracketMatchSummary"

From comp.tf
Jump to navigation Jump to search
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
 
Date
 
Date
-->{{#if:{{{date|}}}|<div class="date">{{#ifeq:{{{finished|}}}|true|{{{date}}}|<span class="datetime">{{{date}}}</span><br /><span class="countdown"></span>}}</div>}}<!--
+
-->{{#if:{{{date|}}}|<div style="border-bottom: 1px dotted #aaa; padding:2px; font-size:85%; line-height:12.5px; text-align:center;">{{#ifeq:{{{finished|}}}|true|{{{date}}}|<span class="streamLink">{{{stream|}}}</span><span class="datetime">{{{date}}}</span><br /><span class="countdown"></span>}}</div>}}<!--
 +
 
 +
Date operations for storage in variables (and later SMW in BracketMatchTeams)
 +
-->{{#vardefine:timezone|{{#explode:{{#explode:{{{date|}}}|data-tz="|1}}|"|0}}}}<!--
 +
-->{{#vardefine:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|-}}}}<!--
 +
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
 +
-->{{#vardefine:finished|{{{finished|}}}}}<!--
 +
-->{{#vardefine:sub1|{{{sub1|}}}}}<!--
 +
-->{{#vardefine:sub2|{{{sub2|}}}}}<!--
 +
-->{{#vardefine:sub3|{{{sub3|}}}}}<!--
 +
-->{{#vardefine:sub4|{{{sub4|}}}}}<!--
 +
-->{{#vardefine:sub5|{{{sub5|}}}}}<!--
 +
-->{{#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