Difference between revisions of "Template:MapWinner"

From QWiki
m
m
Line 1: Line 1:
 
<includeonly><div class="bracket-popup-body-match"><div style="text-align:center;height:20px;clear:both;"><!--
 
<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|[[File:GreenCheck.png‎|14x14px|link=]]|[[File:NoCheck.png|link=]]}}</div><!--
+
--><div style="float:left;margin-left:5%;margin-top:3px;">{{#ifeq:{{{2|}}}|1|[[File:GreenCheck.png‎|14x14px|link=]]|[[File:NoCheck.png|link=]]}}</div><!--
  
 
--><div style="float:left;margin-left:10px;">{{#if:{{{6|}}}{{{7|}}}|<!--
 
--><div style="float:left;margin-left:10px;">{{#if:{{{6|}}}{{{7|}}}|<!--

Revision as of 11:21, 15 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

GreenCheck.png
38 
 
NoCheck.png
 14
 


(The above rendering may look bad. It's a simulation. When in real use - by {{BracketMatchSummary}} - it gets the correct styling.)