Difference between revisions of "Template:MapWinner"
From QWiki
m |
m |
||
Line 48: | Line 48: | ||
− | {{#ifeq:{{{2|}}}|1|<div style="float:left;font-size:60%;font-weight:bold;color:#888;margin-left:5%;line-height:50%;"> | + | {{#ifeq:{{{2|}}}|1|<div style="float:left;font-size:60%;font-weight:bold;color:#888;margin-left:5%;line-height:50%;">{{{6|}}}</div>|<div style="float:left;font-size:60%;color:#888;margin-left:5%;line-height:50%;">{{{6|}}}</div>|link=]]}} |
− | {{#ifeq:{{{2|}}}|2|<div style="float:right;font-size:60%;color:#888;margin-right:5%;line-height:50%;"> | + | {{#ifeq:{{{2|}}}|2|<div style="float:right;font-size:60%;color:#888;margin-right:5%;line-height:50%;">{{{7|}}}</div>|<div style="float:right;font-size:60%;color:#888;margin-right:5%;line-height:50%;">{{{7|}}}</div>|link=]]}} |
Storage of score in variables (later in SMW) | Storage of score in variables (later in SMW) |
Revision as of 11:49, 17 September 2020
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
38 | |
14 | |
aerowalk
2 overtimes
(The above rendering may look bad. It's a simulation. When in real use - by {{BracketMatchSummary}} - it gets the correct styling.)