Difference between revisions of "Template:MapWinner"

From QWiki
m
m
Line 47: Line 47:
 
--><div style="padding-bottom:5px;padding-top:3px;color:#555;font-style:italic;{{#ifeq:{{{2|}}}|skip|text-decoration: line-through;}}">{{{1|}}}{{#if:{{{5|}}}|<br /><p style="color:#d66d00;line-height:100%;font-size:80%;display:flow-root;font-style:normal;">{{MapOT|{{{5|}}}}}</p>}}{{#ifeq:{{lc:{{{2|}}}}}|draw|&nbsp;''(Draw)''}}</div><!--
 
--><div style="padding-bottom:5px;padding-top:3px;color:#555;font-style:italic;{{#ifeq:{{{2|}}}|skip|text-decoration: line-through;}}">{{{1|}}}{{#if:{{{5|}}}|<br /><p style="color:#d66d00;line-height:100%;font-size:80%;display:flow-root;font-style:normal;">{{MapOT|{{{5|}}}}}</p>}}{{#ifeq:{{lc:{{{2|}}}}}|draw|&nbsp;''(Draw)''}}</div><!--
  
--><div style="padding-bottom:5px;padding-top:3px;color:#555;font-style:italic;{{#ifeq:{{{2|}}}|skip|text-decoration: line-through;}}">{{{1|}}}{{#if:{{{6|}}}|<br /><p style="color:#BF00D6;line-height:100%;font-size:80%;display:flow-root;font-style:normal;">{{{6|}}}</p>}}</div><!--
 
  
 
Storage of score in variables (later in SMW)
 
Storage of score in variables (later in SMW)

Revision as of 12:52, 16 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

GreenCheck.png
38 
 
NoCheck.png
 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.)