Difference between revisions of "Template:MapWinner"
From QWiki
(Created page with "<includeonly><div class="bracket-popup-body-match"><div style="text-align:center;height:20px;clear:both;"><!-- --><div style="float:left;margin-left:5%">{{#ifeq:{{{2|}}}|1|...") |
m |
||
Line 22: | Line 22: | ||
-->{{#ifeq:{{{30|}}}|t|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#0000ff;">{{{32|}}}</span></td>}}{{#ifeq:{{{30|}}}|ct|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#ff0000;">{{{31|}}}</span></td>}}<!-- | -->{{#ifeq:{{{30|}}}|t|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#0000ff;">{{{32|}}}</span></td>}}{{#ifeq:{{{30|}}}|ct|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#ff0000;">{{{31|}}}</span></td>}}<!-- | ||
-->{{#ifeq:{{{35|}}}|t|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#0000ff;">{{{37|}}}</span></td>}}{{#ifeq:{{{35|}}}|ct|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#ff0000;">{{{36|}}}</span></td>}}<!-- | -->{{#ifeq:{{{35|}}}|t|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#0000ff;">{{{37|}}}</span></td>}}{{#ifeq:{{{35|}}}|ct|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#ff0000;">{{{36|}}}</span></td>}}<!-- | ||
− | --></tr></table>|<table style="background-color:inherit;line-height:100%;"><tr><td rowspan="2" style="font-size:16px;width:30px;">{{{3|}}}</td><td style="padding:0px;font-size:8px;line-height:8px;"> </td></tr><tr><td style="padding:0px;font-size:8px;line-height:8px;"> </td></tr></table>}}</div><!-- | + | --></tr></table>|<table style="background-color:inherit;line-height:100%;"><tr><td rowspan="2" style="font-size:16px;width:30px;">{{#ifeq:{{{2|}}}|1|'''{{{3|}}}'''|{{{3|}}}}}</td><td style="padding:0px;font-size:8px;line-height:8px;"> </td></tr><tr><td style="padding:0px;font-size:8px;line-height:8px;"> </td></tr></table>}}</div><!-- |
--><div style="float:right;margin-right:5%">{{#ifeq:{{{2|}}}|2|[[File:GreenCheck.png|14x14px|link=]]|[[File:NoCheck.png|link=]]}}</div><!-- | --><div style="float:right;margin-right:5%">{{#ifeq:{{{2|}}}|2|[[File:GreenCheck.png|14x14px|link=]]|[[File:NoCheck.png|link=]]}}</div><!-- | ||
Line 43: | Line 43: | ||
-->{{#ifeq:{{{10|}}}|t|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#ff0000;">{{{13|}}}</span></td>}}{{#ifeq:{{{10|}}}|ct|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#0000ff;">{{{14|}}}</span></td>}}<!-- | -->{{#ifeq:{{{10|}}}|t|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#ff0000;">{{{13|}}}</span></td>}}{{#ifeq:{{{10|}}}|ct|<td style="padding:0px;font-size:8px;line-height:8px;"><span style="color:#0000ff;">{{{14|}}}</span></td>}}<!-- | ||
--><td style="padding:0px;font-size:8px;line-height:8px;">{{#ifeq:{{{5|}}}|t|<span style="color:#ff0000;">{{{8|}}}</span>|<span style="color:#0000ff;">{{{9|}}}</span>}}</td><!-- | --><td style="padding:0px;font-size:8px;line-height:8px;">{{#ifeq:{{{5|}}}|t|<span style="color:#ff0000;">{{{8|}}}</span>|<span style="color:#0000ff;">{{{9|}}}</span>}}</td><!-- | ||
− | --></tr></table>|<table style="background-color:inherit;line-height:100%;"><tr><td style="padding:0px;font-size:8px;line-height:8px;"> </td><td rowspan="2" style="font-size:16px;width:30px;">{{{4|}}}</td></tr><tr><td style="padding:0px;font-size:8px;line-height:8px;"> </td></tr></table>}}</div><!-- | + | --></tr></table>|<table style="background-color:inherit;line-height:100%;"><tr><td style="padding:0px;font-size:8px;line-height:8px;"> </td><td rowspan="2" style="font-size:16px;width:30px;">{{#ifeq:{{{2|}}}|2|'''{{{4|}}}'''|{{{4|}}}}}</td></tr><tr><td style="padding:0px;font-size:8px;line-height:8px;"> </td></tr></table>}}</div><!-- |
--><div style="padding-bottom:5px;padding-top:5px;{{#ifeq:{{{2|}}}|skip|text-decoration: line-through;}}">[[{{{1|}}}{{#if:{{#var:tournament_game}}|/{{#var:tournament_game}}}}|{{{1|}}}]]{{#ifeq:{{lc:{{{2|}}}}}|draw| ''(Draw)''}}</div><!-- | --><div style="padding-bottom:5px;padding-top:5px;{{#ifeq:{{{2|}}}|skip|text-decoration: line-through;}}">[[{{{1|}}}{{#if:{{#var:tournament_game}}|/{{#var:tournament_game}}}}|{{{1|}}}]]{{#ifeq:{{lc:{{{2|}}}}}|draw| ''(Draw)''}}</div><!-- |
Revision as of 15:58, 14 December 2017
Documentation (view - edit)
This template is used by {{BracketMatchSummary}} to render each map as a row within the match detail popup. It needs wrapping code to actually work, that's why you'll never call this template directly.
It shows mapname, score1, score2 and overtimes if set.
Example
(The above rendering may look bad. It's a simulation. When in real use - by {{BracketMatchSummary}} - it gets the correct styling.)