Difference between revisions of "Template:MatchMaps"
Jump to navigation
Jump to search
m |
m (Test to add details) |
||
Line 36: | Line 36: | ||
<td width="6%" align="center" {{#switch:{{{default|}}}|1=style="font-weight:bold;"> W|2=>|{{#ifeq:{{{winner|}}}|1|style="font-weight:bold;"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;"}}> | <td width="6%" align="center" {{#switch:{{{default|}}}|1=style="font-weight:bold;"> W|2=>|{{#ifeq:{{{winner|}}}|1|style="font-weight:bold;"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;"}}> | ||
{{{games1|0 [[Category:Template MatchMaps missing scores]]}}}}}</td> | {{{games1|0 [[Category:Template MatchMaps missing scores]]}}}}}</td> | ||
+ | -->{{#if:{{{details|}}}|<div class="bracket-game-details" style="margin-left:{{#expr:({{{width|300}}}-580)/2}}px;"> | ||
+ | <div class="header"> | ||
+ | <div class="left">{{#if:{{{team1|}}}|{{team2/{{lc:{{{team1}}}}}}}| }}</div> | ||
+ | <div class="right">{{#if:{{{team2|}}}|{{team1/{{lc:{{{team2}}}}}}}| }}</div> | ||
+ | </div> | ||
+ | {{{details}}}<!-- | ||
+ | --> </div>}}<!-- | ||
+ | --></td> | ||
<td width="6%" align="center" {{#switch:{{{default|}}}|2=style="font-weight:bold;"> W|1=>|{{#ifeq:{{{winner|}}}|2|style="font-weight:bold;"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;"}}> | <td width="6%" align="center" {{#switch:{{{default|}}}|2=style="font-weight:bold;"> W|1=>|{{#ifeq:{{{winner|}}}|2|style="font-weight:bold;"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;"}}> | ||
{{{games2|0}}}}}</td> | {{{games2|0}}}}}</td> |