Difference between revisions of "Template:MatchMapsBig"

From QWiki
m
m
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
--> {{#if:{{{player1|}}}|<span style="white-space: pre">{{{player1}}}&nbsp;</span><span style="white-space:nowrap;vertical-align: baseline;">}}</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:{{{player1|}}}|{{{player1}}}|{{#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">{{#if:{{{games1|}}}|{{{games1}}}}} <!--
+
<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">{{#if:{{{games2|}}}{{{games2}}}}} <!--
+
<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}}}}}}} <!--
Line 28: Line 28:
 
--></td>
 
--></td>
 
{{#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:{{{player2|}}}|{{{player2}}}|{{#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>
 
<td class="matchlistslot" width="42%" style="font-size:100%;padding:7px 0 8px 10px; {{#ifeq:{{{walkover|}}}|2|background-color:#ddf4dd;font-weight:bold;"}}{{#ifeq:{{{winner|}}}|2|font-weight:bold; background-color:#ddf4dd;"}}{{#ifeq:{{{winner|}}}|draw|font-weight:bold;background-color:#FFFFBB;"}}{{#ifeq:{{{winner|}}}|void|background-color:#f2f2f2;"}}{{#ifeq:{{{winner|}}}|1|}}><!--
 
<td class="matchlistslot" width="42%" style="font-size:100%;padding:7px 0 8px 10px; {{#ifeq:{{{walkover|}}}|2|background-color:#ddf4dd;font-weight:bold;"}}{{#ifeq:{{{winner|}}}|2|font-weight:bold; background-color:#ddf4dd;"}}{{#ifeq:{{{winner|}}}|draw|font-weight:bold;background-color:#FFFFBB;"}}{{#ifeq:{{{winner|}}}|void|background-color:#f2f2f2;"}}{{#ifeq:{{{winner|}}}|1|}}><!--
-->{{#if:{{{games2|}}}|<span style="white-space:nowrap;vertical-align: baseline;"></span><span style="white-space: pre">{{{games2}}}}}</span><!--
+
-->{{#if:{{{player2|}}}|<span style="white-space:nowrap;vertical-align: baseline;"></span><span style="white-space: pre">{{{player2}}}}}</span><!--
  
 
--></td>
 
--></td>

Latest revision as of 19:55, 10 May 2025

Documentation (view - edit)

Template:MatchMapsBig/doc