Difference between revisions of "Template:BracketMatchSummary"

From QWiki
(Created page with "<includeonly>{{#if:{{{date|}}}{{{map1|}}}{{{comment|}}}|<div class="bracket-popup-body">}}<!-- Date -->{{#if:{{{date|}}}|<div class="bracket-popup-body-time">{{#ifeq:{{{finis...")
 
m
Line 1: Line 1:
<includeonly>{{#if:{{{date|}}}{{{map1|}}}{{{comment|}}}|<div class="bracket-popup-body">}}<!--
+
<includeonly>{{#if:{{{date|}}}{{{map1|}}}{{{veto1|}}}{{{comment|}}}|<div class="bracket-popup-body">}}<!--
  
 
Date
 
Date
 
-->{{#if:{{{date|}}}|<div class="bracket-popup-body-time">{{#ifeq:{{{finished|}}}|true|{{{date}}}|<span class="streamLink">{{{stream|}}}</span><span class="datetime">{{{date}}}</span><br /><span class="countdown"></span>}}</div>}}<!--
 
-->{{#if:{{{date|}}}|<div class="bracket-popup-body-time">{{#ifeq:{{{finished|}}}|true|{{{date}}}|<span class="streamLink">{{{stream|}}}</span><span class="datetime">{{{date}}}</span><br /><span class="countdown"></span>}}</div>}}<!--
 
Date operations for storage in variables (and later SMW in BracketMatchTeams)
 
 
-->{{#vardefine:timezone|{{#explode:{{#explode:{{{date|}}}|data-tz="|1}}|"|0}}}}<!--
 
-->{{#vardefine:timezone|{{#explode:{{#explode:{{{date|}}}|data-tz="|1}}|"|0}}}}<!--
-->{{#vardefine:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|-}}}}<!--
 
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
 
-->{{#vardefine:finished|{{{finished|}}}}}<!--
 
-->{{#vardefine:stream|{{{stream|}}}}}<!--
 
-->{{#vardefine:vod|{{{vod|}}}}}<!--
 
-->{{#vardefine:vodgame1|{{{vodgame1|}}}}}<!--
 
-->{{#vardefine:vodgame2|{{{vodgame2|}}}}}<!--
 
-->{{#vardefine:vodgame3|{{{vodgame3|}}}}}<!--
 
-->{{#vardefine:vodgame4|{{{vodgame4|}}}}}<!--
 
-->{{#vardefine:vodgame5|{{{vodgame5|}}}}}<!--
 
-->{{#vardefine:vodgame6|{{{vodgame6|}}}}}<!--
 
-->{{#vardefine:vodgame7|{{{vodgame7|}}}}}<!--
 
-->{{#vardefine:vodgame8|{{{vodgame8|}}}}}<!--
 
-->{{#vardefine:vodgame9|{{{vodgame9|}}}}}<!--
 
  
 
Maps
 
Maps
 
-->{{#if:{{{map1|}}} {{{map2|}}} {{{map3|}}} {{{map4|}}} {{{map5|}}} {{{map6|}}} {{{map7|}}} {{{map8|}}} {{{map9|}}}|<!--
 
-->{{#if:{{{map1|}}} {{{map2|}}} {{{map3|}}} {{{map4|}}} {{{map5|}}} {{{map6|}}} {{{map7|}}} {{{map8|}}} {{{map9|}}}|<!--
-->{{#if:{{{map1score|}}}|{{#arraydefine:map1scores|{{{map1score}}}|-}}}}{{#if:{{{map1|}}}|{{MapWinner|{{{map1|}}}|{{{map1win|}}}|{{#arrayindex:map1scores|0}}|{{#arrayindex:map1scores|1}}|{{{map1t1firstside|}}}|{{{map1t1t|}}}|{{{map1t1ct|}}}|{{{map1t2t|}}}|{{{map1t2ct|}}}|{{{map1o1t1firstside|}}}|{{{map1o1t1t|}}}|{{{map1o1t1ct|}}}|{{{map1o1t2t|}}}|{{{map1o1t2ct|}}}|{{{map1o2t1firstside|}}}|{{{map1o2t1t|}}}|{{{map1o2t1ct|}}}|{{{map1o2t2t|}}}|{{{map1o2t2ct|}}}|{{{map1o3t1firstside|}}}|{{{map1o3t1t|}}}|{{{map1o3t1ct|}}}|{{{map1o3t2t|}}}|{{{map1o3t2ct|}}}|{{{map1o4t1firstside|}}}|{{{map1o4t1t|}}}|{{{map1o4t1ct|}}}|{{{map1o4t2t|}}}|{{{map1o4t2ct|}}}|{{{map1o5t1firstside|}}}|{{{map1o5t1t|}}}|{{{map1o5t1ct|}}}|{{{map1o5t2t|}}}|{{{map1o5t2ct|}}}|{{{map1o6t1firstside|}}}|{{{map1o6t1t|}}}|{{{map1o6t1ct|}}}|{{{map1o6t2t|}}}|{{{map1o6t2ct|}}}}}<div style="clear:both;"></div>}}{{#arrayreset:map1scores}}<!--
+
-->{{#if:{{{date1|}}}|{{BracketMatchSummaryDate|{{{date1}}}}}}}{{#if:{{{map1|}}}|{{MapWinner|{{{map1}}}|{{{map1win|}}}|{{{map1p1race|}}}|{{{map1p2race|}}}}}}}<!--
-->{{#if:{{{map2score|}}}|{{#arraydefine:map2scores|{{{map2score}}}|-}}}}{{#if:{{{map2|}}}|{{MapWinner|{{{map2|}}}|{{{map2win|}}}|{{#arrayindex:map2scores|0}}|{{#arrayindex:map2scores|1}}|{{{map2t1firstside|}}}|{{{map2t1t|}}}|{{{map2t1ct|}}}|{{{map2t2t|}}}|{{{map2t2ct|}}}|{{{map2o1t1firstside|}}}|{{{map2o1t1t|}}}|{{{map2o1t1ct|}}}|{{{map2o1t2t|}}}|{{{map2o1t2ct|}}}|{{{map2o2t1firstside|}}}|{{{map2o2t1t|}}}|{{{map2o2t1ct|}}}|{{{map2o2t2t|}}}|{{{map2o2t2ct|}}}|{{{map2o3t1firstside|}}}|{{{map2o3t1t|}}}|{{{map2o3t1ct|}}}|{{{map2o3t2t|}}}|{{{map2o3t2ct|}}}|{{{map2o4t1firstside|}}}|{{{map2o4t1t|}}}|{{{map2o4t1ct|}}}|{{{map2o4t2t|}}}|{{{map2o4t2ct|}}}|{{{map2o5t1firstside|}}}|{{{map2o5t1t|}}}|{{{map2o5t1ct|}}}|{{{map2o5t2t|}}}|{{{map2o5t2ct|}}}|{{{map2o6t1firstside|}}}|{{{map2o6t1t|}}}|{{{map2o6t1ct|}}}|{{{map2o6t2t|}}}|{{{map2o6t2ct|}}}}}<div style="clear:both;"></div>}}{{#arrayreset:map2scores}}<!--
+
-->{{#if:{{{date2|}}}|{{BracketMatchSummaryDate|{{{date2}}}}}}}{{#if:{{{map2|}}}|{{MapWinner|{{{map2}}}|{{{map2win|}}}|{{{map2p1race|}}}|{{{map2p2race|}}}}}}}<!--
-->{{#if:{{{map3score|}}}|{{#arraydefine:map3scores|{{{map3score}}}|-}}}}{{#if:{{{map3|}}}|{{MapWinner|{{{map3|}}}|{{{map3win|}}}|{{#arrayindex:map3scores|0}}|{{#arrayindex:map3scores|1}}|{{{map3t1firstside|}}}|{{{map3t1t|}}}|{{{map3t1ct|}}}|{{{map3t2t|}}}|{{{map3t2ct|}}}|{{{map3o1t1firstside|}}}|{{{map3o1t1t|}}}|{{{map3o1t1ct|}}}|{{{map3o1t2t|}}}|{{{map3o1t2ct|}}}|{{{map3o2t1firstside|}}}|{{{map3o2t1t|}}}|{{{map3o2t1ct|}}}|{{{map3o2t2t|}}}|{{{map3o2t2ct|}}}|{{{map3o3t1firstside|}}}|{{{map3o3t1t|}}}|{{{map3o3t1ct|}}}|{{{map3o3t2t|}}}|{{{map3o3t2ct|}}}|{{{map3o4t1firstside|}}}|{{{map3o4t1t|}}}|{{{map3o4t1ct|}}}|{{{map3o4t2t|}}}|{{{map3o4t2ct|}}}|{{{map3o5t1firstside|}}}|{{{map3o5t1t|}}}|{{{map3o5t1ct|}}}|{{{map3o5t2t|}}}|{{{map3o5t2ct|}}}|{{{map3o6t1firstside|}}}|{{{map3o6t1t|}}}|{{{map3o6t1ct|}}}|{{{map3o6t2t|}}}|{{{map3o6t2ct|}}}}}<div style="clear:both;"></div>}}{{#arrayreset:map3scores}}<!--
+
-->{{#if:{{{date3|}}}|{{BracketMatchSummaryDate|{{{date3}}}}}}}{{#if:{{{map3|}}}|{{MapWinner|{{{map3}}}|{{{map3win|}}}|{{{map3p1race|}}}|{{{map3p2race|}}}}}}}<!--
-->{{#if:{{{map4score|}}}|{{#arraydefine:map4scores|{{{map4score}}}|-}}}}{{#if:{{{map4|}}}|{{MapWinner|{{{map4|}}}|{{{map4win|}}}|{{#arrayindex:map4scores|0}}|{{#arrayindex:map4scores|1}}|{{{map4t1firstside|}}}|{{{map4t1t|}}}|{{{map4t1ct|}}}|{{{map4t2t|}}}|{{{map4t2ct|}}}|{{{map4o1t1firstside|}}}|{{{map4o1t1t|}}}|{{{map4o1t1ct|}}}|{{{map4o1t2t|}}}|{{{map4o1t2ct|}}}|{{{map4o2t1firstside|}}}|{{{map4o2t1t|}}}|{{{map4o2t1ct|}}}|{{{map4o2t2t|}}}|{{{map4o2t2ct|}}}|{{{map4o3t1firstside|}}}|{{{map4o3t1t|}}}|{{{map4o3t1ct|}}}|{{{map4o3t2t|}}}|{{{map4o3t2ct|}}}|{{{map4o4t1firstside|}}}|{{{map4o4t1t|}}}|{{{map4o4t1ct|}}}|{{{map4o4t2t|}}}|{{{map4o4t2ct|}}}|{{{map4o5t1firstside|}}}|{{{map4o5t1t|}}}|{{{map4o5t1ct|}}}|{{{map4o5t2t|}}}|{{{map4o5t2ct|}}}|{{{map4o6t1firstside|}}}|{{{map4o6t1t|}}}|{{{map4o6t1ct|}}}|{{{map4o6t2t|}}}|{{{map4o6t2ct|}}}}}<div style="clear:both;"></div>}}{{#arrayreset:map4scores}}<!--
+
-->{{#if:{{{date4|}}}|{{BracketMatchSummaryDate|{{{date4}}}}}}}{{#if:{{{map4|}}}|{{MapWinner|{{{map4}}}|{{{map4win|}}}|{{{map4p1race|}}}|{{{map4p2race|}}}}}}}<!--
-->{{#if:{{{map5score|}}}|{{#arraydefine:map5scores|{{{map5score}}}|-}}}}{{#if:{{{map5|}}}|{{MapWinner|{{{map5|}}}|{{{map5win|}}}|{{#arrayindex:map5scores|0}}|{{#arrayindex:map5scores|1}}|{{{map5t1firstside|}}}|{{{map5t1t|}}}|{{{map5t1ct|}}}|{{{map5t2t|}}}|{{{map5t2ct|}}}|{{{map5o1t1firstside|}}}|{{{map5o1t1t|}}}|{{{map5o1t1ct|}}}|{{{map5o1t2t|}}}|{{{map5o1t2ct|}}}|{{{map5o2t1firstside|}}}|{{{map5o2t1t|}}}|{{{map5o2t1ct|}}}|{{{map5o2t2t|}}}|{{{map5o2t2ct|}}}|{{{map5o3t1firstside|}}}|{{{map5o3t1t|}}}|{{{map5o3t1ct|}}}|{{{map5o3t2t|}}}|{{{map5o3t2ct|}}}|{{{map5o4t1firstside|}}}|{{{map5o4t1t|}}}|{{{map5o4t1ct|}}}|{{{map5o4t2t|}}}|{{{map5o4t2ct|}}}|{{{map5o5t1firstside|}}}|{{{map5o5t1t|}}}|{{{map5o5t1ct|}}}|{{{map5o5t2t|}}}|{{{map5o5t2ct|}}}|{{{map5o6t1firstside|}}}|{{{map5o6t1t|}}}|{{{map5o6t1ct|}}}|{{{map5o6t2t|}}}|{{{map5o6t2ct|}}}}}<div style="clear:both;"></div>}}{{#arrayreset:map5scores}}<!--
+
-->{{#if:{{{date5|}}}|{{BracketMatchSummaryDate|{{{date5}}}}}}}{{#if:{{{map5|}}}|{{MapWinner|{{{map5}}}|{{{map5win|}}}|{{{map5p1race|}}}|{{{map5p2race|}}}}}}}<!--
-->{{#if:{{{map6score|}}}|{{#arraydefine:map6scores|{{{map6score}}}|-}}}}{{#if:{{{map6|}}}|{{MapWinner|{{{map6|}}}|{{{map6win|}}}|{{#arrayindex:map6scores|0}}|{{#arrayindex:map6scores|1}}|{{{map6t1firstside|}}}|{{{map6t1t|}}}|{{{map6t1ct|}}}|{{{map6t2t|}}}|{{{map6t2ct|}}}|{{{map6o1t1firstside|}}}|{{{map6o1t1t|}}}|{{{map6o1t1ct|}}}|{{{map6o1t2t|}}}|{{{map6o1t2ct|}}}|{{{map6o2t1firstside|}}}|{{{map6o2t1t|}}}|{{{map6o2t1ct|}}}|{{{map6o2t2t|}}}|{{{map6o2t2ct|}}}|{{{map6o3t1firstside|}}}|{{{map6o3t1t|}}}|{{{map6o3t1ct|}}}|{{{map6o3t2t|}}}|{{{map6o3t2ct|}}}|{{{map6o4t1firstside|}}}|{{{map6o4t1t|}}}|{{{map6o4t1ct|}}}|{{{map6o4t2t|}}}|{{{map6o4t2ct|}}}|{{{map6o5t1firstside|}}}|{{{map6o5t1t|}}}|{{{map6o5t1ct|}}}|{{{map6o5t2t|}}}|{{{map6o5t2ct|}}}|{{{map6o6t1firstside|}}}|{{{map6o6t1t|}}}|{{{map6o6t1ct|}}}|{{{map6o6t2t|}}}|{{{map6o6t2ct|}}}}}<div style="clear:both;"></div>}}{{#arrayreset:map6scores}}<!--
+
-->{{#if:{{{date6|}}}|{{BracketMatchSummaryDate|{{{date6}}}}}}}{{#if:{{{map6|}}}|{{MapWinner|{{{map6}}}|{{{map6win|}}}|{{{map6p1race|}}}|{{{map6p2race|}}}}}}}<!--
-->{{#if:{{{map7score|}}}|{{#arraydefine:map7scores|{{{map7score}}}|-}}}}{{#if:{{{map7|}}}|{{MapWinner|{{{map7|}}}|{{{map7win|}}}|{{#arrayindex:map7scores|0}}|{{#arrayindex:map7scores|1}}|{{{map7t1firstside|}}}|{{{map7t1t|}}}|{{{map7t1ct|}}}|{{{map7t2t|}}}|{{{map7t2ct|}}}|{{{map7o1t1firstside|}}}|{{{map7o1t1t|}}}|{{{map7o1t1ct|}}}|{{{map7o1t2t|}}}|{{{map7o1t2ct|}}}|{{{map7o2t1firstside|}}}|{{{map7o2t1t|}}}|{{{map7o2t1ct|}}}|{{{map7o2t2t|}}}|{{{map7o2t2ct|}}}|{{{map7o3t1firstside|}}}|{{{map7o3t1t|}}}|{{{map7o3t1ct|}}}|{{{map7o3t2t|}}}|{{{map7o3t2ct|}}}|{{{map7o4t1firstside|}}}|{{{map7o4t1t|}}}|{{{map7o4t1ct|}}}|{{{map7o4t2t|}}}|{{{map7o4t2ct|}}}|{{{map7o5t1firstside|}}}|{{{map7o5t1t|}}}|{{{map7o5t1ct|}}}|{{{map7o5t2t|}}}|{{{map7o5t2ct|}}}|{{{map7o6t1firstside|}}}|{{{map7o6t1t|}}}|{{{map7o6t1ct|}}}|{{{map7o6t2t|}}}|{{{map7o6t2ct|}}}}}<div style="clear:both;"></div>}}{{#arrayreset:map7scores}}<!--
+
-->{{#if:{{{date7|}}}|{{BracketMatchSummaryDate|{{{date7}}}}}}}{{#if:{{{map7|}}}|{{MapWinner|{{{map7}}}|{{{map7win|}}}|{{{map7p1race|}}}|{{{map7p2race|}}}}}}}<!--
-->{{#if:{{{map8score|}}}|{{#arraydefine:map8scores|{{{map8score}}}|-}}}}{{#if:{{{map8|}}}|{{MapWinner|{{{map8|}}}|{{{map8win|}}}|{{#arrayindex:map8scores|0}}|{{#arrayindex:map8scores|1}}|{{{map8t1firstside|}}}|{{{map8t1t|}}}|{{{map8t1ct|}}}|{{{map8t2t|}}}|{{{map8t2ct|}}}|{{{map8o1t1firstside|}}}|{{{map8o1t1t|}}}|{{{map8o1t1ct|}}}|{{{map8o1t2t|}}}|{{{map8o1t2ct|}}}|{{{map8o2t1firstside|}}}|{{{map8o2t1t|}}}|{{{map8o2t1ct|}}}|{{{map8o2t2t|}}}|{{{map8o2t2ct|}}}|{{{map8o3t1firstside|}}}|{{{map8o3t1t|}}}|{{{map8o3t1ct|}}}|{{{map8o3t2t|}}}|{{{map8o3t2ct|}}}|{{{map8o4t1firstside|}}}|{{{map8o4t1t|}}}|{{{map8o4t1ct|}}}|{{{map8o4t2t|}}}|{{{map8o4t2ct|}}}|{{{map8o5t1firstside|}}}|{{{map8o5t1t|}}}|{{{map8o5t1ct|}}}|{{{map8o5t2t|}}}|{{{map8o5t2ct|}}}|{{{map8o6t1firstside|}}}|{{{map8o6t1t|}}}|{{{map8o6t1ct|}}}|{{{map8o6t2t|}}}|{{{map8o6t2ct|}}}}}<div style="clear:both;"></div>}}{{#arrayreset:map8scores}}<!--
+
-->{{#if:{{{date8|}}}|{{BracketMatchSummaryDate|{{{date8}}}}}}}{{#if:{{{map8|}}}|{{MapWinner|{{{map8}}}|{{{map8win|}}}|{{{map8p1race|}}}|{{{map8p2race|}}}}}}}<!--
-->{{#if:{{{map9score|}}}|{{#arraydefine:map9scores|{{{map9score}}}|-}}}}{{#if:{{{map9|}}}|{{MapWinner|{{{map9|}}}|{{{map9win|}}}|{{#arrayindex:map9scores|0}}|{{#arrayindex:map9scores|1}}|{{{map9t1firstside|}}}|{{{map9t1t|}}}|{{{map9t1ct|}}}|{{{map9t2t|}}}|{{{map9t2ct|}}}|{{{map9o1t1firstside|}}}|{{{map9o1t1t|}}}|{{{map9o1t1ct|}}}|{{{map9o1t2t|}}}|{{{map9o1t2ct|}}}|{{{map9o2t1firstside|}}}|{{{map9o2t1t|}}}|{{{map9o2t1ct|}}}|{{{map9o2t2t|}}}|{{{map9o2t2ct|}}}|{{{map9o3t1firstside|}}}|{{{map9o3t1t|}}}|{{{map9o3t1ct|}}}|{{{map9o3t2t|}}}|{{{map9o3t2ct|}}}|{{{map9o4t1firstside|}}}|{{{map9o4t1t|}}}|{{{map9o4t1ct|}}}|{{{map9o4t2t|}}}|{{{map9o4t2ct|}}}|{{{map9o5t1firstside|}}}|{{{map9o5t1t|}}}|{{{map9o5t1ct|}}}|{{{map9o5t2t|}}}|{{{map9o5t2ct|}}}|{{{map9o6t1firstside|}}}|{{{map9o6t1t|}}}|{{{map9o6t1ct|}}}|{{{map9o6t2t|}}}|{{{map9o6t2ct|}}}}}<div style="clear:both;"></div>}}{{#arrayreset:map9scores}}<!--
+
-->{{#if:{{{date9|}}}|{{BracketMatchSummaryDate|{{{date9}}}}}}}{{#if:{{{map9|}}}|{{MapWinner|{{{map9}}}|{{{map9win|}}}|{{{map9p1race|}}}|{{{map9p2race|}}}}}}}<!--
 
-->}}<!--
 
-->}}<!--
 +
 +
Vetoes
 +
-->{{#if:{{{veto1|}}}{{{veto2|}}}|<div class="bracket-popup-body-bans">Vetoes</div>
 +
<div class="bracket-popup-body-match">{{{veto1|-}}}</div>
 +
<div class="bracket-popup-body-match">{{{veto2|-}}}</div>
 +
}}<!--
  
 
Comment  
 
Comment  
 
-->{{#if:{{{comment|}}}|<div class="bracket-popup-body-comment">{{{comment}}}</div>}}<!--
 
-->{{#if:{{{comment|}}}|<div class="bracket-popup-body-comment">{{{comment}}}</div>}}<!--
  
-->{{#if:{{{date|}}}{{{map1|}}}{{{comment|}}}|</div>}}<!--
+
-->{{#if:{{{date|}}}{{{map1|}}}{{{veto1|}}}{{{comment|}}}|</div>}}<!--
  
 
Icons  
 
Icons  
-->{{#if:{{{preview|}}} {{{lrthread|}}} {{{vod|}}} {{{vodgame1|{{{vod1|}}}}}} {{{vodgame2|{{{vod2|}}}}}} {{{vodgame3|}}} {{{vodgame4|}}} {{{vodgame5|}}} {{{vodgame6|}}} {{{vodgame7|}}} {{{vodgame8|}}} {{{vodgame9|}}} {{{interview|}}} {{{review|}}} {{{recap|}}} {{{hltv|}}} {{{hltv2|}}} {{{hltvlegacy|}}} {{{stats|}}} {{{stats1|}}} {{{stats2|}}} {{{stats3|}}} {{{stats4|}}} {{{stats5|}}} {{{stats6|}}} {{{stats7|}}} {{{cevo|}}} {{{cevo2|}}} {{{esl|}}} {{{esea|}}} {{{esea1|}}} {{{esea2|}}} {{{esea3|}}} {{{esea4|}}} {{{esea5|}}} {{{esea6|}}} {{{sltv|}}} {{{faceit|}}} {{{sostronk|}}} {{{5ewin1|}}} {{{5ewin2|}}} {{{5ewin3|}}} {{{5ewin4|}}} {{{5ewin5|}}} {{{challengeme1|}}} {{{challengeme2|}}} {{{challengeme3|}}} {{{gotfrag1|}}} {{{gotfrag2|}}} {{{gotfrag3|}}}|<!--
+
-->{{#if:{{{preview|}}} {{{lrthread|}}} {{{vod|}}} {{{vodgame1|}}} {{{vodgame2|}}} {{{vodgame3|}}} {{{vodgame4|}}} {{{vodgame5|}}} {{{vodgame6|}}} {{{vodgame7|}}} {{{vodgame8|}}} {{{vodgame9|}}} {{{interview|}}} {{{interview2|}}} {{{review|}}} {{{recap|}}}|<!--
 
--><div class="bracket-popup-footer plainlinks"><!--
 
--><div class="bracket-popup-footer plainlinks"><!--
 
-->{{#if:{{{preview|}}}|[[File:Preview Icon.png|link={{{preview}}}|alt=preview|15px|Preview]]}} <!--
 
-->{{#if:{{{preview|}}}|[[File:Preview Icon.png|link={{{preview}}}|alt=preview|15px|Preview]]}} <!--
 
-->{{#if:{{{lrthread|}}}|[[File:LiveReport.png|link={{{lrthread}}}|alt=lrthread|15px|Live Report Thread]]}} <!--
 
-->{{#if:{{{lrthread|}}}|[[File:LiveReport.png|link={{{lrthread}}}|alt=lrthread|15px|Live Report Thread]]}} <!--
-->{{#if:{{{vod|}}}|[[File:vod.png|link={{{vod}}}|Watch VOD]]}} <!--
+
-->{{#if:{{{vod|}}}|[[File:vod.png|link={{{vod}}}|15px|Watch VOD]]}} <!--
-->{{#if:{{{vodgame1|{{{vod1|}}}}}}|{{vodlink |gamenum=1 |vod={{{vodgame1|{{{vod1|}}}}}}|source=url}}}} <!--
+
-->{{#if:{{{vodgame1|}}}|{{vodlink|gamenum=1|vod={{{vodgame1|}}}|source=url}}}} <!--
-->{{#if:{{{vodgame2|{{{vod2|}}}}}}|{{vodlink |gamenum=2 |vod={{{vodgame2|{{{vod2|}}}}}}|source=url}}}} <!--
+
-->{{#if:{{{vodgame2|}}}|{{vodlink|gamenum=2|vod={{{vodgame2|}}}|source=url}}}} <!--
-->{{#if:{{{vodgame3|{{{vod3|}}}}}}|{{vodlink |gamenum=3 |vod={{{vodgame3|{{{vod3|}}}}}}|source=url}}}} <!--
+
-->{{#if:{{{vodgame3|}}}|{{vodlink|gamenum=3|vod={{{vodgame3|}}}|source=url}}}} <!--
-->{{#if:{{{vodgame4|{{{vod4|}}}}}}|{{vodlink |gamenum=4 |vod={{{vodgame4|{{{vod4|}}}}}}|source=url}}}} <!--
+
-->{{#if:{{{vodgame4|}}}|{{vodlink|gamenum=4|vod={{{vodgame4|}}}|source=url}}}} <!--
-->{{#if:{{{vodgame5|{{{vod5|}}}}}}|{{vodlink |gamenum=5 |vod={{{vodgame5|{{{vod5|}}}}}}|source=url}}}} <!--
+
-->{{#if:{{{vodgame5|}}}|{{vodlink|gamenum=5|vod={{{vodgame5|}}}|source=url}}}} <!--
-->{{#if:{{{vodgame6|{{{vod6|}}}}}}|{{vodlink |gamenum=6 |vod={{{vodgame6|{{{vod6|}}}}}}|source=url}}}} <!--
+
-->{{#if:{{{vodgame6|}}}|{{vodlink|gamenum=6|vod={{{vodgame6|}}}|source=url}}}} <!--
-->{{#if:{{{vodgame7|{{{vod7|}}}}}}|{{vodlink |gamenum=7 |vod={{{vodgame7|{{{vod7|}}}}}}|source=url}}}} <!--
+
-->{{#if:{{{vodgame7|}}}|{{vodlink|gamenum=7|vod={{{vodgame7|}}}|source=url}}}} <!--
-->{{#if:{{{vodgame8|{{{vod8|}}}}}}|{{vodlink |gamenum=8 |vod={{{vodgame8|{{{vod8|}}}}}}|source=url}}}} <!--
+
-->{{#if:{{{vodgame8|}}}|{{vodlink|gamenum=8|vod={{{vodgame8|}}}|source=url}}}} <!--
-->{{#if:{{{vodgame9|{{{vod9|}}}}}}|{{vodlink |gamenum=9 |vod={{{vodgame9|{{{vod9|}}}}}}|source=url}}}} <!--
+
-->{{#if:{{{vodgame9|}}}|{{vodlink|gamenum=9|vod={{{vodgame9|}}}|source=url}}}} <!--
-->{{#if:{{{hltvlegacy|}}}|{{#if: {{{vod|}}} {{{vodgame1|}}} | {{md}} }}[[File:HLTV icon.png|link=http://hltv.org/legacy/match/{{{hltvlegacy}}}|16px|HLTV matchpage]]}} <!--
+
-->{{#if:{{{interview|}}}|[[File:Int_Icon.png|link={{{interview}}}|20px|Interview]]}} <!--
-->{{#if:{{{hltv|}}}|{{#if: {{{vod|}}} {{{vodgame1|}}} | {{md}} }}[[File:HLTV icon.png|link=http://hltv.org/match/{{{hltv}}}|16px|HLTV matchpage]]|[[Category:Pages lacking HLTV match page links]]}} <!--
+
-->{{#if:{{{interview2|}}}|[[File:Int_Icon.png|link={{{interview2}}}|20px|Interview]]}} <!--
-->{{#if:{{{hltv2|}}}|{{#if: {{{vod|}}} {{{vodgame1|{{{vod1|}}}}}} | {{md}} }}[[File:HLTV icon.png|link=http://hltv.org/match/{{{hltv2}}}|16px|HLTV matchpage]]}} <!--
+
-->{{#if:{{{review|}}}|[[File:Writers_Icon.png|link={{{review}}}|15px|Recap]]}}<!--
-->{{#if:{{{stats|}}}|{{#if: {{{vod|}}} {{{vodgame1|{{{vod1|}}}}}} {{{hltv|}}} |'''·'''&nbsp;}}[[File:Stats icon.png|link=http://www.hltv.org/?pageid=188&matchid={{{stats}}}|Stats on HLTV.org]]|[[Category:Pages lacking HLTV stats]]}} <!--
+
-->{{#if:{{{recap|}}}|[[File:Writers_Icon.png|link={{{recap}}}|15px|Recap]]}}<!--
-->{{#if:{{{stats1|}}}|{{#if: {{{vod|}}} {{{vodgame1|{{{vod1|}}}}}} {{{hltv|}}} |'''·'''&nbsp;}}[[File:Stats icon.png|link=http://www.hltv.org/?pageid=188&matchid={{{stats1}}}|Stats for game 1 on HLTV.org]]}} <!--
+
--></div>}}<!--
-->{{#if:{{{stats2|}}}|[[File:Stats icon.png|link=http://www.hltv.org/?pageid=188&matchid={{{stats2}}}|Stats for game 2 on HLTV.org]]}} <!--
+
Big junk of variables, they are used in BracketMatchPlayers to create a subobject for every map
-->{{#if:{{{stats3|}}}|[[File:Stats icon.png|link=http://www.hltv.org/?pageid=188&matchid={{{stats3}}}|Stats for game 3 on HLTV.org]]}} <!--
+
-->{{#vardefine:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|-}}}}<!--
-->{{#if:{{{stats4|}}}|[[File:Stats icon.png|link=http://www.hltv.org/?pageid=188&matchid={{{stats4}}}|Stats for game 4 on HLTV.org]]}} <!--
+
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
-->{{#if:{{{stats5|}}}|[[File:Stats icon.png|link=http://www.hltv.org/?pageid=188&matchid={{{stats5}}}|Stats for game 5 on HLTV.org]]}} <!--
+
-->{{#vardefine:map1|{{{map1|}}}}}<!--
-->{{#if:{{{stats6|}}}|[[File:Stats icon.png|link=http://www.hltv.org/?pageid=188&matchid={{{stats5}}}|Stats for game 6 on HLTV.org]]}} <!--
+
-->{{#vardefine:map2|{{{map2|}}}}}<!--
-->{{#if:{{{stats7|}}}|[[File:Stats icon.png|link=http://www.hltv.org/?pageid=188&matchid={{{stats5}}}|Stats for game 7 on HLTV.org]]}} <!--
+
-->{{#vardefine:map3|{{{map3|}}}}}<!--
-->{{#if:{{{cevo|}}}|[[File:CEVO icon.png|link=http://cevo.com/event/{{{cevo}}}|Match page and stats at CEVO.com]][[Category:CEVO params to be updated]]}} <!--
+
-->{{#vardefine:map4|{{{map4|}}}}}<!--
-->{{#if:{{{cevo2|}}}|[[File:CEVO icon.png|link=http://cevo.com/event/{{{cevo}}}|Match page and stats at CEVO.com]][[Category:CEVO params to be updated]]}} <!--
+
-->{{#vardefine:map5|{{{map5|}}}}}<!--
-->{{#if:{{{esea|}}}|[[File:ESEA icon.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea}}}|Match page and stats on ESEA]]}} <!--
+
-->{{#vardefine:map6|{{{map6|}}}}}<!--
-->{{#if:{{{esl|}}}|[[File:ESL icon.png|link={{{esl}}}|Match page and stats on ESL]]}} <!--
+
-->{{#vardefine:map7|{{{map7|}}}}}<!--
-->{{#if:{{{esea1|}}}|[[File:ESEA icon.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea1}}}|Match page and stats for game 1 on ESEA]]}} <!--
+
-->{{#vardefine:map8|{{{map8|}}}}}<!--
-->{{#if:{{{esea2|}}}|[[File:ESEA icon.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea2}}}|Match page and stats for game 2 on ESEA]]}} <!--
+
-->{{#vardefine:map9|{{{map9|}}}}}<!--
-->{{#if:{{{esea3|}}}|[[File:ESEA icon.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea3}}}|Match page and stats for game 3 on ESEA]]}} <!--
+
-->{{#vardefine:map1_date|{{#replace:{{#explode:{{{date1|}}}|<|0}}|- |}}}}<!--
-->{{#if:{{{esea4|}}}|[[File:ESEA icon.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea4}}}|Match page and stats for game 4 on ESEA]]}} <!--
+
-->{{#vardefine:map2_date|{{#replace:{{#explode:{{{date2|}}}|<|0}}|- |}}}}<!--
-->{{#if:{{{esea5|}}}|[[File:ESEA icon.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea5}}}|Match page and stats for game 5 on ESEA]]}} <!--
+
-->{{#vardefine:map3_date|{{#replace:{{#explode:{{{date3|}}}|<|0}}|- |}}}}<!--
-->{{#if:{{{esea6|}}}|[[File:ESEA icon.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea6}}}|Match page and stats for game 6 on ESEA]]}} <!--
+
-->{{#vardefine:map4_date|{{#replace:{{#explode:{{{date4|}}}|<|0}}|- |}}}}<!--
-->{{#if:{{{sltv|}}}|[[File:Starladder-icon.png|16x16px|link=http://csgo.starladder.tv/match/{{{sltv}}}|Match page and stats on SLTV]]}} <!--
+
-->{{#vardefine:map5_date|{{#replace:{{#explode:{{{date5|}}}|<|0}}|- |}}}}<!--
-->{{#if:{{{faceit|}}}|[[File:FACEIT-icon.png|16x16px|link=https://www.faceit.com/en/csgo/room/{{{faceit}}}|FACEIT match room]]}} <!--
+
-->{{#vardefine:map6_date|{{#replace:{{#explode:{{{date6|}}}|<|0}}|- |}}}}<!--
-->{{#if:{{{sostronk|}}}|[[File:SoStronk icon.png|16x16px|link=https://www.sostronk.com/match/{{{sostronk}}}|Match page and stats on SoStronk]]}} <!--
+
-->{{#vardefine:map7_date|{{#replace:{{#explode:{{{date7|}}}|<|0}}|- |}}}}<!--
-->{{#if:{{{5ewin1|}}}|[[File:5ewin icon.png|16x16px|link=https://www.5ewin.com/data/match/{{{5ewin1}}}|Match page and stats on 5Ewin]]}} <!--
+
-->{{#vardefine:map8_date|{{#replace:{{#explode:{{{date8|}}}|<|0}}|- |}}}}<!--
-->{{#if:{{{5ewin2|}}}|[[File:5ewin icon.png|16x16px|link=https://www.5ewin.com/data/match/{{{5ewin2}}}|Match page and stats on 5Ewin]]}} <!--
+
-->{{#vardefine:map9_date|{{#replace:{{#explode:{{{date9|}}}|<|0}}|- |}}}}<!--
-->{{#if:{{{5ewin3|}}}|[[File:5ewin icon.png|16x16px|link=https://www.5ewin.com/data/match/{{{5ewin3}}}|Match page and stats on 5Ewin]]}} <!--
+
-->{{#vardefine:map1win|{{{map1win|}}}}}<!--
-->{{#if:{{{5ewin4|}}}|[[File:5ewin icon.png|16x16px|link=https://www.5ewin.com/data/match/{{{5ewin4}}}|Match page and stats on 5Ewin]]}} <!--
+
-->{{#vardefine:map2win|{{{map2win|}}}}}<!--
-->{{#if:{{{5ewin5|}}}|[[File:5ewin icon.png|16x16px|link=https://www.5ewin.com/data/match/{{{5ewin5}}}|Match page and stats on 5Ewin]]}} <!--
+
-->{{#vardefine:map3win|{{{map3win|}}}}}<!--
-->{{#if:{{{challengeme1|}}}|[[File:ChallengeMe icon.png|16x16px|link=https://www.challengeme.gg/arena/match/{{{challengeme1}}}|Match page and stats on ChallengeMe]]}} <!--
+
-->{{#vardefine:map4win|{{{map4win|}}}}}<!--
-->{{#if:{{{challengeme2|}}}|[[File:ChallengeMe icon.png|16x16px|link=https://www.challengeme.gg/arena/match/{{{challengeme2}}}|Match page and stats on ChallengeMe]]}} <!--
+
-->{{#vardefine:map5win|{{{map5win|}}}}}<!--
-->{{#if:{{{challengeme3|}}}|[[File:ChallengeMe icon.png|16x16px|link=https://www.challengeme.gg/arena/match/{{{challengeme3}}}|Match page and stats on ChallengeMe]]}} <!--
+
-->{{#vardefine:map6win|{{{map6win|}}}}}<!--
-->{{#if:{{{gotfrag1|}}}|[[File:GotFrag icon.png|16x16px|link={{{gotfrag1}}}|Match page and stats on GotFrag]]}} <!--
+
-->{{#vardefine:map7win|{{{map7win|}}}}}<!--
-->{{#if:{{{gotfrag2|}}}|[[File:GotFrag icon.png|16x16px|link={{{gotfrag2}}}|Match page and stats on GotFrag]]}} <!--
+
-->{{#vardefine:map8win|{{{map8win|}}}}}<!--
-->{{#if:{{{gotfrag3|}}}|[[File:GotFrag icon.png|16x16px|link={{{gotfrag3}}}|Match page and stats on GotFrag]]}} <!--
+
-->{{#vardefine:map9win|{{{map9win|}}}}}<!--
--></div>}}
+
-->{{#vardefine:m1p1race|{{{map1p1race|}}}}}<!--
</includeonly><noinclude>{{documentation}}</noinclude>
+
-->{{#vardefine:m2p1race|{{{map2p1race|}}}}}<!--
 +
-->{{#vardefine:m3p1race|{{{map3p1race|}}}}}<!--
 +
-->{{#vardefine:m4p1race|{{{map4p1race|}}}}}<!--
 +
-->{{#vardefine:m5p1race|{{{map5p1race|}}}}}<!--
 +
-->{{#vardefine:m6p1race|{{{map6p1race|}}}}}<!--
 +
-->{{#vardefine:m7p1race|{{{map7p1race|}}}}}<!--
 +
-->{{#vardefine:m8p1race|{{{map8p1race|}}}}}<!--
 +
-->{{#vardefine:m9p1race|{{{map9p1race|}}}}}<!--
 +
-->{{#vardefine:m1p2race|{{{map1p2race|}}}}}<!--
 +
-->{{#vardefine:m2p2race|{{{map2p2race|}}}}}<!--
 +
-->{{#vardefine:m3p2race|{{{map3p2race|}}}}}<!--
 +
-->{{#vardefine:m4p2race|{{{map4p2race|}}}}}<!--
 +
-->{{#vardefine:m5p2race|{{{map5p2race|}}}}}<!--
 +
-->{{#vardefine:m6p2race|{{{map6p2race|}}}}}<!--
 +
-->{{#vardefine:m7p2race|{{{map7p2race|}}}}}<!--
 +
-->{{#vardefine:m8p2race|{{{map8p2race|}}}}}<!--
 +
-->{{#vardefine:m9p2race|{{{map9p2race|}}}}}<!--
 +
-->{{#vardefine:vod|{{{vod|}}}}}<!--
 +
-->{{#vardefine:vodgame1|{{{vodgame1|}}}}}<!--
 +
-->{{#vardefine:vodgame2|{{{vodgame2|}}}}}<!--
 +
-->{{#vardefine:vodgame3|{{{vodgame3|}}}}}<!--
 +
-->{{#vardefine:vodgame4|{{{vodgame4|}}}}}<!--
 +
-->{{#vardefine:vodgame5|{{{vodgame5|}}}}}<!--
 +
-->{{#vardefine:vodgame6|{{{vodgame6|}}}}}<!--
 +
-->{{#vardefine:vodgame7|{{{vodgame7|}}}}}<!--
 +
-->{{#vardefine:vodgame8|{{{vodgame8|}}}}}<!--
 +
-->{{#vardefine:vodgame9|{{{vodgame9|}}}}}<!--
 +
-->{{#vardefine:finished|{{{finished|}}}}}<!--
 +
--></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 10:18, 12 January 2017

Documentation (view - edit)

This template is used by bracket templates as it needs wrapping code to actually work. It creates the overlay with information about maps, VODs, demos, etc. that appears on click.

Example

The code:

{{4SEBracket
|R1=Quarterfinals (Bo5)
|R2=Semifinals (Bo7)
|R3=Finals (Bo7)
 <!-- QUARTERFINALS -->
|R1D1=DOOMer |R1D1flag=se |R1D1score=2 |R1D1win=
|R1D2=Avenger |R1D2flag=pl |R1D2score=3 |R1D2win=1
|R1G1details={{BracketMatchSummary
|date=February 21, 2021 18:10 {{Abbr/CEST}}
|stream=suddendeathTV
|stream2=gLAd
|vod=https://www.twitch.tv/videos/746776070
|vod2=https://www.twitch.tv/videos/746776070
|demo1=http://demo.qhlan.org/qhlan12/1on1/duel_(1)lethalwiz_vs_lethalwiz%5bpovdmm4%5d040109-1231.mvd
|demo2=http://demo.qhlan.org/qhlan12/1on1/duel_(1)lethalwiz_vs_lethalwiz%5bpovdmm4%5d040109-1231.mvd
|demo3=http://demo.qhlan.org/qhlan12/1on1/duel_(1)lethalwiz_vs_lethalwiz%5bpovdmm4%5d040109-1231.mvd
|demo4=http://demo.qhlan.org/qhlan12/1on1/duel_(1)lethalwiz_vs_lethalwiz%5bpovdmm4%5d040109-1231.mvd
|demo5=http://demo.qhlan.org/qhlan12/1on1/duel_(1)lethalwiz_vs_lethalwiz%5bpovdmm4%5d040109-1231.mvd
|map1=dm3 |map1win=1 |map1p1frags=15 |map1p2frags=13 |shot1=20200920-no vs au-dm3.jpg
|map2=dm2 |map2win=2 |map2p1frags=11 |map2p2frags=14 |shot2=slvscan-dm2.png |map2ot=1
|map3=aerowalk |map3win=1 |map3p1frags=5 |map3p2frags=4 |shot3=slvscan-aerowalk.png
|map4=dm1 |map4win=2 |map4p1frags=16 |map4p2frags=17
|map5=dm4 |map5win=1 |map5p1frags=WIN |map5p2frags=WO 
|comment={{player|Avenger|flag=pl}} forfeited the decider map.
}}
}}

gives us:

Quarterfinals (Bo5)
 Sweden DOOMer
2
Sweden DOOMer
Avenger Poland
suddendeathTVFebruary 21, 2021 18:10 CEST
GreenCheck.png
' 
 
NoCheck.png
 
 
dm3
NoCheck.png
 
 
GreenCheck.png
 '
 
dm2
GreenCheck.png
' 
 
NoCheck.png
 
 
aerowalk
NoCheck.png
 
 
GreenCheck.png
 '
 
dm1
GreenCheck.png
' 
 
NoCheck.png
 
 
dm4
Poland Avenger forfeited the decider map.
 Poland Avenger
3
  R1D3
  R1D4
Semifinals (Bo7)
  R2W1
  R2W2

Use

|mapX=
Set the name of the map, X is 1-9.
|mapXwin=
Set this to "1", "2", "skip" or "draw" to either set a winner or show the map wasn't played or had no winner.
|mapXp1frags=
Set the number of frags for player 1 on on map X.
|mapXp2frags=
Set the number of frags for player 2 on on map X.
|mapXot=
(Optional) Set number of overtimes on map X.
|mapXp1lineup=
(Optional) Set lineup for player 1 as comma separated list on map X.
|mapXp2lineup=
(Optional) Set lineup for player 2 as comma separated list on map X.
|shotX=
(Optional) Add a screenshot for map X. Example: |shot1=20200920 no vs au e1m2.jpg will add a 120px thumbnail in the bottom of the overlay. Multiple shots will simply show up after one another.
|vodgameX=
(Optional) Put a link to the VOD of mapX here. For less clutter, use one vod for the entire game:
|vod=
(Optional) Put a link to the VOD of the game. If |stream= is present, its name will show as vod link.
|vod2=
(Optional) Put a link to a second VOD of the game. If |stream2= is present, its name will show as vod link.
|demoX=
(Optional) Put a link to the demo of mapX here. Up to 7 demos supported.
|stream=
(Optional) Add a link to the stream. Use only stream name, not full url.
|stream2=
(Optional) Add a link to a second stream. Use only stream name, not full url.
|comment=
(Optional) Option to leave a short note about noteworthy events (e.g. a draw, reason for a walkover).
|date=
(Optional) Set the date of the match, or date with time (format: February 21, 2021 18:10 CEST). If the date is in the future, a countdown will show.
|finished=
(Optional) Set this to "true" to hide the countdown.

Copy/Paste

Minimal with 3 maps:

{{BracketMatchSummary
|map1= |map1win= |map1p1frags= |map1p2frags= |map1ot=
|map2= |map2win= |map2p1frags= |map2p2frags= |map2ot=
|map3= |map3win= |map3p1frags= |map3p2frags= |map3ot=
}}

Minimal with 5 maps:

{{BracketMatchSummary
|map1= |map1win= |map1p1frags= |map1p2frags= |map1ot=
|map2= |map2win= |map2p1frags= |map2p2frags= |map2ot=
|map3= |map3win= |map3p1frags= |map3p2frags= |map3ot=
|map4= |map4win= |map4p1frags= |map4p2frags= |map4ot=
|map5= |map5win= |map5p1frags= |map5p2frags= |map5ot=
}}

Full with 7 maps:

{{BracketMatchSummary
|date=
|vod=
|stream=
|comment=
|map1= |map1win= |map1p1frags= |map1p2frags= |map1ot= |map1p1lineup= |map1p2lineup= 
|map2= |map2win= |map2p1frags= |map2p2frags= |map2ot= |map2p1lineup= |map2p2lineup= 
|map3= |map3win= |map3p1frags= |map3p2frags= |map3ot= |map3p1lineup= |map3p2lineup= 
|map4= |map4win= |map4p1frags= |map4p2frags= |map4ot= |map4p1lineup= |map4p2lineup= 
|map5= |map5win= |map5p1frags= |map5p2frags= |map5ot= |map5p1lineup= |map5p2lineup= 
|map6= |map6win= |map6p1frags= |map6p2frags= |map6ot= |map6p1lineup= |map6p2lineup= 
|map7= |map7win= |map7p1frags= |map7p2frags= |map7ot= |map7p1lineup= |map7p2lineup= 
}}