Difference between revisions of "Template:MatchMapsBig"

From QWiki
m
m
 
(14 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:120%; 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">
 
<td class="matchlistslot" width="42%" align="right" style="font-size:100%;padding:7px 10px 8px 0; {{#ifeq:{{{walkover|}}}|1|background-color:#ddf4dd;font-weight:bold;"}}{{#ifeq:{{{winner|}}}|1|font-weight:bold; background-color:#ddf4dd;"}}{{#ifeq:{{{winner|}}}|draw|font-weight:bold;background-color:#FFFFBB;"}}{{#ifeq:{{{winner|}}}|void|background-color:#f2f2f2;"}}{{#ifeq:{{{winner|}}}|2|}}><!--
 
<td class="matchlistslot" width="42%" align="right" style="font-size:100%;padding:7px 10px 8px 0; {{#ifeq:{{{walkover|}}}|1|background-color:#ddf4dd;font-weight:bold;"}}{{#ifeq:{{{winner|}}}|1|font-weight:bold; background-color:#ddf4dd;"}}{{#ifeq:{{{winner|}}}|draw|font-weight:bold;background-color:#FFFFBB;"}}{{#ifeq:{{{winner|}}}|void|background-color:#f2f2f2;"}}{{#ifeq:{{{winner|}}}|2|}}><!--
--> {{#if:{{{player1|}}}|<span style="white-space: pre">{{{player1}}}</span>}}</span><!--
+
--> {{#if:{{{player1|}}}|<span style="white-space: pre">{{{player1}}}&nbsp;</span><span style="white-space:nowrap;vertical-align: baseline;">}}</span><!--
 
--></td>
 
--></td>
 
<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">
<div class="bracket-popup-header-left">{{{player1}}}}} <!--
+
<div class="bracket-popup-header-left"> <!--
 
--> {{#if:{{{team1cstrike|}}}|{{team2Short/cstrike|{{{team1cstrike}}}}}}} <!--
 
--> {{#if:{{{team1cstrike|}}}|{{team2Short/cstrike|{{{team1cstrike}}}}}}} <!--
 
--> {{#if:{{{team1css|}}}|{{team2Short/css|{{{team1css}}}}}}} <!--
 
--> {{#if:{{{team1css|}}}|{{team2Short/css|{{{team1css}}}}}}} <!--
 
--> {{#if:{{{team1csgo|}}}|{{team2Short/csgo|{{{team1csgo}}}}}}}</div>
 
--> {{#if:{{{team1csgo|}}}|{{team2Short/csgo|{{{team1csgo}}}}}}}</div>
<div class="bracket-popup-header-right">{{{player2}}}}} <!--
+
<div class="bracket-popup-header-right"> <!--
 
--> {{#if:{{{team2cstrike|}}}|{{teamShort/cstrike|{{{team2cstrike}}}}}}} <!--
 
--> {{#if:{{{team2cstrike|}}}|{{teamShort/cstrike|{{{team2cstrike}}}}}}} <!--
 
--> {{#if:{{{team2css|}}}|{{teamShort/css|{{{team2css}}}}}}} <!--
 
--> {{#if:{{{team2css|}}}|{{teamShort/css|{{{team2css}}}}}}} <!--

Latest revision as of 19:55, 10 May 2025

Documentation (view - edit)

Template:MatchMapsBig/doc