Difference between revisions of "Template:MapWinner"

From QWiki
m (Fixed som margins around "overtime" in the popup)
m (Added to Category:Templates)
 
Line 56: Line 56:
 
|1={{#vardefine:team1wins|{{#expr:{{#var:team1wins|0}} + 1}} }}
 
|1={{#vardefine:team1wins|{{#expr:{{#var:team1wins|0}} + 1}} }}
 
|2={{#vardefine:team2wins|{{#expr:{{#var:team2wins|0}} + 1}} }}
 
|2={{#vardefine:team2wins|{{#expr:{{#var:team2wins|0}} + 1}} }}
| }}</div></div></includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]]</noinclude>
+
| }}</div></div></includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 09:16, 22 February 2021

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.)