Difference between revisions of "Template:MatchMapsBig"

From QWiki
m
m
 
(12 intermediate revisions by the same user not shown)
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 14: Line 14:
 
<td {{#switch:{{{winner}}}|void=colspan="2" width="16%"| #default=colspan="1" width="8%"}} align="center" {{#switch:{{{walkover}}}|1=style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"> WO|2=> -|{{#ifeq:{{{winner|}}}|1|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:{{{games1|}}}|{{{games1}}}|{{#ifeq:{{{winner|}}}|void|voided|0}}}}}}<!--
 
<td {{#switch:{{{winner}}}|void=colspan="2" width="16%"| #default=colspan="1" width="8%"}} align="center" {{#switch:{{{walkover}}}|1=style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"> WO|2=> -|{{#ifeq:{{{winner|}}}|1|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:{{{games1|}}}|{{{games1}}}|{{#ifeq:{{{winner|}}}|void|voided|0}}}}}}<!--
 
-->{{#if:{{{details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{#expr:({{{width|300}}}-580)/2}}px;"><div class="bracket-popup">
 
-->{{#if:{{{details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{#expr:({{{width|300}}}-580)/2}}px;"><div class="bracket-popup">
 +
<div class="bracket-popup-header">
 +
<div class="bracket-popup-header-left"> <!--
 +
--> {{#if:{{{team1cstrike|}}}|{{team2Short/cstrike|{{{team1cstrike}}}}}}} <!--
 +
--> {{#if:{{{team1css|}}}|{{team2Short/css|{{{team1css}}}}}}} <!--
 +
--> {{#if:{{{team1csgo|}}}|{{team2Short/csgo|{{{team1csgo}}}}}}}</div>
 +
<div class="bracket-popup-header-right"> <!--
 +
--> {{#if:{{{team2cstrike|}}}|{{teamShort/cstrike|{{{team2cstrike}}}}}}} <!--
 +
--> {{#if:{{{team2css|}}}|{{teamShort/css|{{{team2css}}}}}}} <!--
 +
--> {{#if:{{{team2csgo|}}}|{{teamShort/csgo|{{{team2csgo}}}}}}}</div>
 +
</div>
 
{{{details}}}<!--
 
{{{details}}}<!--
 
--> </div></div>}}<!--
 
--> </div></div>}}<!--

Latest revision as of 19:55, 10 May 2025

Documentation (view - edit)

Template:MatchMapsBig/doc