Difference between revisions of "Template:MatchMapsBig"

From QWiki
m
m
Line 3: Line 3:
 
-->{{#vardefine:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|-}}}}<!--
 
-->{{#vardefine:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|-}}}}<!--
 
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
 
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
--><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="5" 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><!--
 
-->}}{{#if:{{{title|}}}|<tr><!--
 
-->}}{{#if:{{{title|}}}|<tr><!--
--><td colspan="4" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px;"><center>{{{title}}}</center></td></tr><!--
+
--><td colspan="5" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px;"><center>{{{title}}}</center></td></tr><!--
 
-->}}<!--
 
-->}}<!--
 
--><tr class="match-row">
 
--><tr class="match-row">
Line 17: Line 17:
 
--> </div></div>}}<!--
 
--> </div></div>}}<!--
 
--></td>
 
--></td>
 +
{{#if:{{{map|}}}|<tr><td colspan="1" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px;"><center>{{{map}}}</center></td></tr>}}
 
{{#ifeq:{{{winner|}}}|void||
 
{{#ifeq:{{{winner|}}}|void||
 
<td {{#switch:{{{winner}}}|void=colspan="2" width="16%"| #default=colspan="1" width="8%"}} align="center" {{#switch:{{{walkover}}}|2=style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"> WO|1=> -|{{#ifeq:{{{winner|}}}|2|style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;background-color: rgb(255 255 187 / 50%);"}}{{#ifeq:{{{winner|}}}|void|style="background-color:#fff;"}}> {{#if:{{{games2|}}}|{{{games2}}}|{{#ifeq:{{{winner|}}}|void|voided|0}}}}}} }}</td>
 
<td {{#switch:{{{winner}}}|void=colspan="2" width="16%"| #default=colspan="1" width="8%"}} align="center" {{#switch:{{{walkover}}}|2=style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"> WO|1=> -|{{#ifeq:{{{winner|}}}|2|style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;background-color: rgb(255 255 187 / 50%);"}}{{#ifeq:{{{winner|}}}|void|style="background-color:#fff;"}}> {{#if:{{{games2|}}}|{{{games2}}}|{{#ifeq:{{{winner|}}}|void|voided|0}}}}}} }}</td>

Revision as of 08:43, 7 May 2025

Documentation (view - edit)

Template:MatchMapsBig/doc