Difference between revisions of "Template:BracketMatchSummary"

From comp.tf
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
Date
 
Date
 
-->{{#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>}}<!--
 
-->{{#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|}}}}}<!--
  
 
Maps
 
Maps

Revision as of 23:25, 10 March 2016