Difference between revisions of "Template:MatchMaps"

From comp.tf
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>{{#if:{{{date|}}}|<tr {{#ifeq:{{{border|}}}|1|style="border-bottom: 3px solid #aaa"}}><!--
+
<includeonly>{{#if:{{{date|}}}|<tr><!--
 
-->{{#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:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|-}}}}<!--
Line 5: Line 5:
 
--><td colspan="4" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px;"><center>{{#ifeq:{{{finished|}}}|true|{{{date}}}|<span class="streamLink">{{{stream|}}}</span><span class="datetime">{{{date}}}</span><br /><span class="countdown" style="font-weight:normal"></span>}}</center></td>
 
--><td colspan="4" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px;"><center>{{#ifeq:{{{finished|}}}|true|{{{date}}}|<span class="streamLink">{{{stream|}}}</span><span class="datetime">{{{date}}}</span><br /><span class="countdown" style="font-weight:normal"></span>}}</center></td>
 
</tr><!--
 
</tr><!--
-->}}<tr class="match-row">
+
-->}}<tr class="match-row" {{#ifeq:{{{border|}}}|1|style="border-bottom: 3px solid #aaa"}}>
 
<td class="matchlistslot" width="42%" align="right" {{#ifeq:{{{winner|}}}|1|style="font-weight:bold; background-color:#cfc"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold; background-color:#FFFFBB"}}><!--
 
<td class="matchlistslot" width="42%" align="right" {{#ifeq:{{{winner|}}}|1|style="font-weight:bold; background-color:#cfc"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold; background-color:#FFFFBB"}}><!--
 
--> {{#if:{{{team1|}}}|{{team2/{{lc:{{{team1}}}}}}}}} <!--
 
--> {{#if:{{{team1|}}}|{{team2/{{lc:{{{team1}}}}}}}}} <!--

Revision as of 09:38, 9 June 2016

(view - edit) Documentation

This template is used by: