Difference between revisions of "Template:BracketMatchSummary"
Jump to navigation
Jump to search
m (Second attempt) |
|||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
+ | 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>}}<!-- | ||
− | Date | + | Date operations for storage in variables (and later SMW in BracketMatchTeams) |
− | |||
-->{{#vardefine:timezone|{{#explode:{{#explode:{{{date|}}}|data-tz="|1}}|"|0}}}}<!-- | -->{{#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 style=" | ||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Stands-ins | |
− | -->{{#if:{{{ | + | -->{{#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}}}]] ⟶ [[{{{replaced1}}}]]'''}}<!-- |
− | < | + | -->{{#if:{{{sub2|}}}{{{replaced2|}}}|<br />'''[[{{{sub2}}}]] ⟶ [[{{{replaced2}}}]]'''}}<!-- |
− | < | + | -->{{#if:{{{sub3|}}}{{{replaced3|}}}|<br />'''[[{{{sub3}}}]] ⟶ [[{{{replaced3}}}]]'''}}<!-- |
− | </div>}}<!-- | + | -->{{#if:{{{sub4|}}}{{{replaced4|}}}|<br />'''[[{{{sub4}}}]] ⟶ [[{{{replaced4}}}]]'''}}<!-- |
+ | -->{{#if:{{{sub5|}}}{{{replaced5|}}}|<br />'''[[{{{sub5}}}]] ⟶ [[{{{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. | + | -->{{#if:{{{comment|}}}|<div style="border-top: 1px dotted #aaa; padding:2px; font-size:85%; line-height:12.50px; text-align:left;">{{{comment}}}</div>}}</includeonly> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly> |