Difference between revisions of "Template:MatchMaps"

From QWiki
(Created page with "<includeonly>{{#if:{{{title|}}}|<tr><th colspan="4">{{{title}}}</th></tr>}}<!-- -->{{#if:{{{date|}}}|<tr><!-- -->{{#vardefine:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}...")
 
m (Error in last edit)
 
(81 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{title|}}}|<tr><th colspan="4">{{{title}}}</th></tr>}}<!--
+
<includeonly>{{#if:{{{date|}}}|<tr><!--
-->{{#if:{{{date|}}}|<tr><!--
+
-->{{#vardefine:timezone|{{#explode:{{#explode:{{{date|}}}|data-tz="|1}}|"|0}}}}<!--
-->{{#vardefine:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|- |}}}}<!--
+
-->{{#vardefine:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|-}}}}<!--
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|}}}|<|0}}}}<!--
+
-->{{#vardefine:Raw_Match_date|{{#explode:{{{date|TBD}}}|<|0}}}}<!--
-->{{#vardefine:disable_SMW_storage|{{{disable_SMW_storage|}}}}}<!--
+
--><td colspan="4" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px;"><center>{{#ifeq:{{{finished|}}}|true|{{{date}}}|<span class="streamLink">{{{stream|}}}</span><span class="datetime">{{{date}}}</span><br /><span class="countdown" style="font-weight:normal"></span>}}</center></td>
--><td colspan="4" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px; text-align:center;">{{#ifeq:{{{finished|}}}|true|{{{date}}}|<span class="streamLink">{{{stream|}}}</span><span class="datetime">{{{date}}}</span><br /><span style="font-weight:normal" class="countdown"></span>}}</td>
 
</tr>}}<!--
 
--><tr>
 
<td class="matchlistslot" width="44%" align="right" {{#ifeq:{{{winner|}}}|1|style="font-weight:bold; background-color:#cfc"}}> {{player2|link={{{playerlink1|{{{playerlink|false}}}}}}|flag={{{player1flag|}}}|race={{{player1race|}}}|{{{player1}}}}}{{#ifexist:{{{player1partner}}}|<br />{{player2|link={{{playerpartnerlink1|{{{playerlink|false}}}}}}|flag={{{player1partnerflag|}}}|race={{{player1partnerrace|}}}|{{{player1partner}}}}}|}}</td>
 
<td width="6%" align="center" {{#switch:{{{walkover|}}}|1=style="font-weight:bold;"> W|2=> -|0=> -|{{#ifeq:{{{winner|}}}|1|style="font-weight:bold;"}}> {{#expr:
 
{{#ifeq:{{{map1win|}}}|1|1|0}}+
 
{{#ifeq:{{{map2win|}}}|1|1|0}}+
 
{{#ifeq:{{{map3win|}}}|1|1|0}}+
 
{{#ifeq:{{{map4win|}}}|1|1|0}}+
 
{{#ifeq:{{{map5win|}}}|1|1|0}}+
 
{{#ifeq:{{{map6win|}}}|1|1|0}}+
 
{{#ifeq:{{{map7win|}}}|1|1|0}}+
 
{{#ifeq:{{{map8win|}}}|1|1|0}}+
 
{{#ifeq:{{{map9win|}}}|1|1|0}}}}}}</td>
 
<td width="6%" align="center" {{#switch:{{{walkover|}}}|2=style="font-weight:bold;"> W|1=> -|0=> -|{{#ifeq:{{{winner|}}}|2|style="font-weight:bold;"}}> {{#expr:
 
{{#ifeq:{{{map1win|}}}|2|1|0}}+
 
{{#ifeq:{{{map2win|}}}|2|1|0}}+
 
{{#ifeq:{{{map3win|}}}|2|1|0}}+
 
{{#ifeq:{{{map4win|}}}|2|1|0}}+
 
{{#ifeq:{{{map5win|}}}|2|1|0}}+
 
{{#ifeq:{{{map6win|}}}|2|1|0}}+
 
{{#ifeq:{{{map7win|}}}|2|1|0}}+
 
{{#ifeq:{{{map8win|}}}|2|1|0}}+
 
{{#ifeq:{{{map9win|}}}|2|1|0}}}}}}</td>
 
<td class="matchlistslot" width="44%" align="left" {{#ifeq:{{{winner|}}}|2|style="font-weight:bold; background-color:#cfc"}}> {{player|link={{{playerlink2|{{{playerlink|false}}}}}}|flag={{{player2flag|}}}|race={{{player2race|}}}|{{{player2}}}}}{{#ifexist:{{{player2partner}}}|<br />{{player|link={{{playerpartnerlink2|{{{playerlink|false}}}}}}|flag={{{player2partnerflag|}}}|race={{{player2partnerrace|}}}|{{{player2partner}}}}}|}}</td>
 
{{#if:{{{map1|}}} {{{map2|}}} {{{map3|}}} {{{map4|}}} {{{map5|}}} {{{map6|}}} {{{map7|}}} {{{map8|}}} {{{map9|}}} |</tr><tr class="maprow">
 
<td colspan="4" style="font-size:85%; line-height:130%; text-align:left;">
 
{{#if:{{{map1|}}}|{{MapWinner|{{{map1|}}}|{{{map1win|}}}}}}}<!--
 
-->{{#if:{{{map2|}}}|{{MapWinner|{{{map2|}}}|{{{map2win|}}}}}}}<!--
 
-->{{#if:{{{map3|}}}|{{MapWinner|{{{map3|}}}|{{{map3win|}}}}}}}<!--
 
-->{{#if:{{{map4|}}}|{{MapWinner|{{{map4|}}}|{{{map4win|}}}}}}}<!--
 
-->{{#if:{{{map5|}}}|{{MapWinner|{{{map5|}}}|{{{map5win|}}}}}}}<!--
 
-->{{#if:{{{map6|}}}|{{MapWinner|{{{map6|}}}|{{{map6win|}}}}}}}<!--
 
-->{{#if:{{{map7|}}}|{{MapWinner|{{{map7|}}}|{{{map7win|}}}}}}}<!--
 
-->{{#if:{{{map8|}}}|{{MapWinner|{{{map8|}}}|{{{map8win|}}}}}}}<!--
 
-->{{#if:{{{map9|}}}|{{MapWinner|{{{map9|}}}|{{{map9win|}}}}}}}</td>}}
 
 
</tr><!--
 
</tr><!--
-->{{#if:{{{preview|}}} {{{lrthread|}}} {{{vod|}}} {{{vodgame1|}}} {{{vodgame2|}}} {{{vodgame3|}}} {{{vodgame4|}}} {{{vodgame5|}}} {{{vodgame6|}}} {{{vodgame7|}}} {{{vodgame8|}}}{{{vodgame9|}}} {{{interview|}}} {{{review|}}} {{{recap|}}}|<tr class="maprow plainlinks"><td colspan="4" align="center"><!--
+
-->}}{{#if:{{{title|}}}|<tr><!--
-->{{#if:{{{preview|}}}|[[File:Preview Icon.png|link={{{preview}}}|alt=preview|15px|Preview]]}} <!--
+
--><td colspan="4" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px;"><center>{{{title}}}</center></td></tr><!--
-->{{#if:{{{lrthread|}}}|[[File:LiveReport.png|link={{{lrthread}}}|alt=lrthread|15px|Live Report Thread]]}} <!--
+
-->}}<!--
-->{{#if:{{{vod|}}}|[[File:vod.png|link={{{vod}}}|15px|Watch VOD]]}} <!--
+
--><tr class="match-row">
-->{{#if:{{{vodgame1|}}}|{{{vodgame1|}}}}} <!--
+
<td class="matchlistslot" width="42%" align="right" style="font-size:100%;padding:7px 10px 8px 0; {{#ifeq:{{{walkover|}}}|1|background-color:#ddf4dd;font-weight:bold;"}}{{#ifeq:{{{winner|}}}|1|font-weight:bold; background-color:#ddf4dd;"}}{{#ifeq:{{{winner|}}}|draw|font-weight:bold;background-color:#FFFFBB;"}}{{#ifeq:{{{winner|}}}|void|background-color:#f2f2f2;"}}{{#ifeq:{{{winner|}}}|2|}}><!--
-->{{#if:{{{vodgame2|}}}|{{{vodgame2|}}}}} <!--
+
--> {{#if:{{{player1|}}}|<span style="white-space: pre">{{{player1}}}&nbsp;</span><span style="white-space:nowrap;vertical-align: baseline;">{{flag/{{lc:{{{player1flag}}}}}}}}}</span><!--
-->{{#if:{{{vodgame3|}}}|{{{vodgame3|}}}}} <!--
+
--></td>
-->{{#if:{{{vodgame4|}}}|{{{vodgame4|}}}}} <!--
+
<td {{#switch:{{{winner}}}|void=colspan="2" width="16%"| #default=colspan="1" width="8%"}} align="center" {{#switch:{{{walkover}}}|1=style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"> WO|2=> -|{{#ifeq:{{{winner|}}}|1|style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold; background-color: rgb(255 255 187 / 50%);"}}{{#ifeq:{{{winner|}}}|void|style="background-color:#fff;"}}> {{#if:{{{games1|}}}|{{{games1}}}|{{#ifeq:{{{winner|}}}|void|voided|0}}}}}}<!--
-->{{#if:{{{vodgame5|}}}|{{{vodgame5|}}}}} <!--
+
-->{{#if:{{{details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{#expr:({{{width|300}}}-580)/2}}px;"><div class="bracket-popup">
-->{{#if:{{{vodgame6|}}}|{{{vodgame6|}}}}} <!--
+
<div class="bracket-popup-header">
-->{{#if:{{{vodgame7|}}}|{{{vodgame7|}}}}} <!--
+
<div class="bracket-popup-header-left">{{#if:{{{player1|}}}|{{flag/{{lc:{{{player1flag}}}}}}} {{{player1}}}}} <!--
-->{{#if:{{{vodgame8|}}}|{{{vodgame8|}}}}} <!--
+
--> {{#if:{{{team1cstrike|}}}|{{team2Short/cstrike|{{{team1cstrike}}}}}}} <!--
-->{{#if:{{{vodgame9|}}}|{{{vodgame9|}}}}} <!--
+
--> {{#if:{{{team1css|}}}|{{team2Short/css|{{{team1css}}}}}}} <!--
-->{{#if:{{{interview|}}}|[[File:Int_Icon.png|link={{{interview}}}|20px|Interview]]}} <!--
+
--> {{#if:{{{team1csgo|}}}|{{team2Short/csgo|{{{team1csgo}}}}}}}</div>
-->{{#if:{{{review|}}}|[[File:Writers_Icon.png|link={{{review}}}|15px|Recap]]}}<!--
+
<div class="bracket-popup-header-right">{{#if:{{{player2|}}}|{{flag/{{lc:{{{player2flag}}}}}}} {{{player2}}}}} <!--
-->{{#if:{{{recap|}}}|[[File:Writers_Icon.png|link={{{recap}}}|15px|Recap]]}}<!--
+
--> {{#if:{{{team2cstrike|}}}|{{teamShort/cstrike|{{{team2cstrike}}}}}}} <!--
--></td></tr>}}<!--
+
--> {{#if:{{{team2css|}}}|{{teamShort/css|{{{team2css}}}}}}} <!--
-->{{#if:{{{comment|}}}|<tr>
+
--> {{#if:{{{team2csgo|}}}|{{teamShort/csgo|{{{team2csgo}}}}}}}</div>
<td colspan="4">{{{comment}}}</td>
+
</div>
</tr>}}{{#ifeq:{{#var:disable_SMW_storage|}}|true||<!--
+
{{{details}}}<!--
 +
--> </div></div>}}<!--
 +
--></td>
 +
{{#ifeq:{{{winner|}}}|void||
 +
<td {{#switch:{{{winner}}}|void=colspan="2" width="16%"| #default=colspan="1" width="8%"}} align="center" {{#switch:{{{walkover}}}|2=style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"> WO|1=> -|{{#ifeq:{{{winner|}}}|2|style="font-weight:bold;background-color: rgb(221 244 221 / 50%);"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;background-color: rgb(255 255 187 / 50%);"}}{{#ifeq:{{{winner|}}}|void|style="background-color:#fff;"}}> {{#if:{{{games2|}}}|{{{games2}}}|{{#ifeq:{{{winner|}}}|void|voided|0}}}}}} }}</td>
 +
<td class="matchlistslot" width="42%" style="font-size:100%;padding:7px 0 8px 10px; {{#ifeq:{{{walkover|}}}|2|background-color:#ddf4dd;font-weight:bold;"}}{{#ifeq:{{{winner|}}}|2|font-weight:bold; background-color:#ddf4dd;"}}{{#ifeq:{{{winner|}}}|draw|font-weight:bold;background-color:#FFFFBB;"}}{{#ifeq:{{{winner|}}}|void|background-color:#f2f2f2;"}}{{#ifeq:{{{winner|}}}|1|}}><!--
 +
-->{{#if:{{{player2|}}}|<span style="white-space:nowrap;vertical-align: baseline;">{{flag/{{lc:{{{player2flag}}}}}}}&nbsp;</span><span style="white-space: pre">{{{player2}}}}}</span><!--
  
Big junk of SMW
+
--></td>
 +
</tr><!--
  
Map 1
+
Variables transformations
-->{{#subobject:{{{player1|TBD}}}_vs_{{{player2|TBD}}}_on_{{#ifeq:{{{map1|}}}||TBA|{{{map1|}}}}}_at_{{#var:Raw_Match_date|{{#var:Raw_Group_date|TBD}}}}_in_Match_{{#var:match_number|TBD}}_Map_1
+
-->{{#vardefine:player1|{{#ifeq:{{{player1|}}}||TBD|{{#ifeq:{{{player1|}}}|&nbsp;|TBD|{{#explode:{{#explode:{{Team/{{lc:{{{team1|}}}}}}}|link=|1}}|]]|0}} }}}}}}<!--
|has player left={{{player1|TBD}}}
+
-->{{#vardefine:player2|{{#ifeq:{{{player2|}}}||TBD|{{#ifeq:{{{player2|}}}|&nbsp;|TBD|{{#explode:{{#explode:{{Team/{{lc:{{{team2|}}}}}}}|link=|1}}|]]|0}} }}}}}}<!--
|has player right={{{player2|TBD}}}
+
SMW storage
|has player left page={{#var:{{{player1|TBD}}}_page|TBD}}
+
-->{{#subobject:{{#var:player1|TBD}}_vs_{{#var:player2|TBD}}_at_{{#var:Raw_Match_date|TBD}}{{#var:timezone|}}_in_Match_{{#var:match_number|TBD}}
|has player right page={{#var:{{{player2|TBD}}}_page|TBD}}
 
|has player 1={{#ifeq:{{{map1win|}}}|draw|{{{player1|TBD}}} }}
 
|has winner={{#switch:{{{map1win|}}}
 
  |1={{{player1|TBD}}}
 
  |2={{{player2|TBD}}}
 
  |#default=
 
}}
 
|has player 2={{#ifeq:{{{map1win|}}}|draw|{{{player2|TBD}}} }}
 
|has loser={{#switch:{{{map1win|}}}
 
  |1={{{player2|TBD}}}
 
  |2={{{player1|TBD}}}
 
  |#default=
 
}}
 
|has winner page={{#switch:{{{map1win|}}}
 
  |1={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has loser page={{#switch:{{{map1win|}}}
 
  |1={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has winning race={{#switch:{{{map1win|}}}
 
  |1={{{map1p1race|{{{player1race|}}}}}}
 
  |2={{{map1p2race|{{{player2race|}}}}}}
 
  |#default=
 
}}
 
|has losing race={{#switch:{{{map1win|}}}
 
  |1={{{map1p2race|{{{player2race|}}}}}}
 
  |2={{{map1p1race|{{{player1race|}}}}}}
 
  |#default=
 
}}
 
 
|is map number=1
 
|is map number=1
|is draw={{#ifeq:{{{map1win|}}}|draw|true|false}}
+
|has team left={{#var:player|TBD}}
|is played on={{#explode:{{{map1|}}}|{{!}}|0}}
+
|has team right={{#var:player2|TBD}}
|Has map date={{#var:Match_date|{{#var:Group_date|}}}}{{#var:timezone}}
+
|Has map date={{#var:Match_date}}{{#var:timezone}}
|Has tournament={{FULLPAGENAME}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
}}<!--
 
 
 
Map 2
 
-->{{#if:{{{map2|}}}|{{#ifeq:{{{map2win|}}}|skip| |
 
{{#subobject:{{{player1|TBD}}}_vs_{{{player2|TBD}}}_on_{{{map2|TBA}}}_at_{{#var:Raw_Match_date|{{#var:Raw_Group_date|TBD}}}}_in_Match_{{#var:match_number|TBD}}_Map_2
 
|is map number=2
 
|has player left={{{player1|TBD}}}
 
|has player right={{{player2|TBD}}}
 
|has player left page={{#var:{{{player1|TBD}}}_page|TBD}}
 
|has player right page={{#var:{{{player2|TBD}}}_page|TBD}}
 
|has player 1={{#ifeq:{{{map2win|}}}|draw|{{{player1|TBD}}}}}
 
|has winner={{#switch:{{{map2win|}}}
 
  |1={{{player1|TBD}}}
 
  |2={{{player2|TBD}}}
 
  |#default=
 
}}
 
|has player 2={{#ifeq:{{{map2win|}}}|draw|{{{player2|TBD}}}}}
 
|has loser={{#switch:{{{map2win|}}}
 
  |1={{{player2|TBD}}}
 
  |2={{{player1|TBD}}}
 
  |#default=
 
}}
 
|has winning race={{#switch:{{{map2win|}}}
 
  |1={{{map2p1race|{{{player1race|}}}}}}
 
  |2={{{map2p2race|{{{player2race|}}}}}}
 
  |#default=
 
}}
 
|has losing race={{#switch:{{{map2win|}}}
 
  |1={{{map2p2race|{{{player2race|}}}}}}
 
  |2={{{map2p1race|{{{player1race|}}}}}}
 
  |#default=
 
}}
 
|has winner page={{#switch:{{{map2win|}}}
 
  |1={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has loser page={{#switch:{{{map2win|}}}
 
  |1={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|is draw={{#ifeq:{{{map2win|}}}|draw|true|false}}
 
|is played on={{#explode:{{{map2|}}}|{{!}}|0}}
 
|Has map date={{#var:Match_date|{{#var:Group_date|}}}}{{#var:timezone}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
}}
 
}}
 
}}<!--
 
 
 
Map 3
 
-->{{#if:{{{map3|}}}|{{#ifeq:{{{map3win|}}}|skip| |<!--
 
-->{{#subobject:{{{player1|TBD}}}_vs_{{{player2|TBD}}}_on_{{{map3|TBA}}}_at_{{#var:Raw_Match_date|{{#var:Raw_Group_date|TBD}}}}_in_Match_{{#var:match_number|TBD}}_Map_3
 
|is map number=3
 
|has player left={{{player1|TBD}}}
 
|has player right={{{player2|TBD}}}
 
|has player left page={{#var:{{{player1|TBD}}}_page|TBD}}
 
|has player right page={{#var:{{{player2|TBD}}}_page|TBD}}
 
|has player 1={{#ifeq:{{{map3win|}}}|draw|{{{player1|TBD}}} }}
 
|has winner={{#switch:{{{map3win|}}}
 
  |1={{{player1|TBD}}}
 
  |2={{{player2|TBD}}}
 
  |#default=
 
}}
 
|has player 2={{#ifeq:{{{map3win|}}}|draw|{{{player2|TBD}}} }}
 
|has loser={{#switch:{{{map3win|}}}
 
  |1={{{player2|TBD}}}
 
  |2={{{player1|TBD}}}
 
  |#default=
 
}}
 
|has winning race={{#switch:{{{map3win|}}}
 
    |1={{{map3p1race|{{{player1race|}}}}}}
 
    |2={{{map3p2race|{{{player2race|}}}}}}
 
    |#default=
 
}}
 
|has losing race={{#switch:{{{map3win|}}}
 
  |1={{{map3p2race|{{{player2race|}}}}}}
 
  |2={{{map3p1race|{{{player1race|}}}}}}
 
  |#default=
 
}}
 
|has winner page={{#switch:{{{map3win|}}}
 
  |1={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has loser page={{#switch:{{{map3win|}}}
 
  |1={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|is draw={{#ifeq:{{{map3win|}}}|draw|true|false}}
 
|is played on={{#explode:{{{map3|}}}|{{!}}|0}}
 
|Has map date={{#var:Match_date|{{#var:Group_date|}}}}{{#var:timezone}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
}}<!--
 
-->}}<!--
 
-->}}<!--
 
 
 
Map 4
 
-->{{#if:{{{map4|}}}|{{#ifeq:{{{map4win|}}}|skip| |<!--
 
-->{{#subobject:{{{player1|TBD}}}_vs_{{{player2|TBD}}}_on_{{{map4|TBA}}}_at_{{#var:Raw_Match_date|{{#var:Raw_Group_date|TBD}}}}_in_Match_{{#var:match_number|TBD}}_Map_4
 
|is map number=4
 
|has player left={{{player1|TBD}}}
 
|has player right={{{player2|TBD}}}
 
|has player left page={{#var:{{{player1|TBD}}}_page|TBD}}
 
|has player right page={{#var:{{{player2|TBD}}}_page|TBD}}
 
|has player 1={{#ifeq:{{{map4win|}}}|draw|{{{player1|TBD}}} }}
 
|has winner={{#switch:{{{map4win|}}}
 
  |1={{{player1|TBD}}}
 
  |2={{{player2|TBD}}}
 
  |#default=
 
}}
 
|has player 2={{#ifeq:{{{map4win|}}}|draw|{{{player2|TBD}}} }}
 
|has loser={{#switch:{{{map4win|}}}
 
  |1={{{player2|TBD}}}
 
  |2={{{player1|TBD}}}
 
  |#default=
 
}}
 
|has winning race={{#switch:{{{map4win|}}}
 
  |1={{{map4p1race|{{{player1race|}}}}}}
 
  |2={{{map4p2race|{{{player2race|}}}}}}
 
  |#default=
 
}}
 
|has losing race={{#switch:{{{map4win|}}}
 
  |1={{{map4p2race|{{{player2race|}}}}}}
 
  |2={{{map4p1race|{{{player1race|}}}}}}
 
  |#default=
 
}}
 
|has winner page={{#switch:{{{map4win|}}}
 
  |1={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has loser page={{#switch:{{{map4win|}}}
 
  |1={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|is draw={{#ifeq:{{{map4win|}}}|draw|true|false}}
 
|is played on={{#explode:{{{map4|}}}|{{!}}|0}}
 
|Has map date={{#var:Match_date|{{#var:Group_date|}}}}{{#var:timezone}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
}}
 
}}
 
}}<!--
 
 
 
Map 5
 
-->{{#if:{{{map5|}}}|{{#ifeq:{{{map5win|}}}|skip| |<!--
 
-->{{#subobject:{{{player1|TBD}}}_vs_{{{player2|TBD}}}_on_{{{map5|TBA}}}_at_{{#var:Raw_Match_date|{{#var:Raw_Group_date|TBD}}}}_in_Match_{{#var:match_number|TBD}}_Map_5
 
|is map number=5
 
|has player left={{{player1|TBD}}}
 
|has player right={{{player2|TBD}}}
 
|has player left page={{#var:{{{player1|TBD}}}_page|TBD}}
 
|has player right page={{#var:{{{player2|TBD}}}_page|TBD}}
 
|has player 1={{#ifeq:{{{map5win|}}}|draw|{{{player1|TBD}}} }}
 
|has winner={{#switch:{{{map5win|}}}
 
  |1={{{player1|TBD}}}
 
  |2={{{player2|TBD}}}
 
  |#default=
 
}}
 
|has player 2={{#ifeq:{{{map5win|}}}|draw|{{{player2|TBD}}} }}
 
|has loser={{#switch:{{{map5win|}}}
 
  |1={{{player2|TBD}}}
 
  |2={{{player1|TBD}}}
 
  |#default=
 
}}
 
|has winning race={{#switch:{{{map5win|}}}
 
  |1={{{map5p1race|{{{player1race|}}}}}}
 
  |2={{{map5p2race|{{{player2race|}}}}}}
 
  |#default=
 
}}
 
|has losing race={{#switch:{{{map5win|}}}
 
  |1={{{map5p2race|{{{player2race|}}}}}}
 
  |2={{{map5p1race|{{{player1race|}}}}}}
 
  |#default=
 
}}
 
|has winner page={{#switch:{{{map5win|}}}
 
  |1={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has loser page={{#switch:{{{map5win|}}}
 
  |1={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|is draw={{#ifeq:{{{map5win|}}}|draw|true|false}}
 
|is played on={{#explode:{{{map5|}}}|{{!}}|0}}
 
|Has map date={{#var:Match_date|{{#var:Group_date|}}}}{{#var:timezone}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
}}
 
}}
 
}}<!--
 
 
 
Map 6
 
-->{{#if:{{{map6|}}}|{{#ifeq:{{{map6win|}}}|skip| |<!--
 
-->{{#subobject:{{{player1|TBD}}}_vs_{{{player2|TBD}}}_on_{{{map6|TBA}}}_at_{{#var:Raw_Match_date|{{#var:Raw_Group_date|TBD}}}}_in_Match_{{#var:match_number|TBD}}_Map_6
 
|is map number=6
 
|has player left={{{player1|TBD}}}
 
|has player right={{{player2|TBD}}}
 
|has player left page={{#var:{{{player1|TBD}}}_page|TBD}}
 
|has player right page={{#var:{{{player2|TBD}}}_page|TBD}}
 
|has player 1={{#ifeq:{{{map6win|}}}|draw|{{{player1|TBD}}} }}
 
|has winner={{#switch:{{{map6win|}}}
 
  |1={{{player1|TBD}}}
 
  |2={{{player2|TBD}}}
 
  |#default=
 
}}
 
|has player 2={{#ifeq:{{{map6win|}}}|draw|{{{player2|TBD}}} }}
 
|has loser={{#switch:{{{map6win|}}}
 
  |1={{{player2|TBD}}}
 
  |2={{{player1|TBD}}}
 
  |#default=
 
}}
 
|has winning race={{#switch:{{{map6win|}}}
 
  |1={{{map6p1race|{{{player1race|}}}}}}
 
  |2={{{map6p2race|{{{player2race|}}}}}}
 
  |#default=
 
}}
 
|has losing race={{#switch:{{{map6win|}}}
 
  |1={{{map6p2race|{{{player2race|}}}}}}
 
  |2={{{map6p1race|{{{player1race|}}}}}}
 
  |#default=
 
}}
 
|has winner page={{#switch:{{{map6win|}}}
 
  |1={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has loser page={{#switch:{{{map6win|}}}
 
  |1={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|is draw={{#ifeq:{{{map6win|}}}|draw|true|false}}
 
|is played on={{#explode:{{{map6|}}}|{{!}}|0}}
 
|Has map date={{#var:Match_date|{{#var:Group_date|}}}}{{#var:timezone}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
}}
 
}}
 
}}<!--
 
 
 
Map 7
 
-->{{#if:{{{map7|}}}|{{#ifeq:{{{map7win|}}}|skip| |<!--
 
-->{{#subobject:{{{player1|TBD}}}_vs_{{{player2|TBD}}}_on_{{{map7|TBA}}}_at_{{#var:Raw_Match_date|{{#var:Raw_Group_date|TBD}}}}_in_Match_{{#var:match_number|TBD}}_Map_7
 
|is map number=7
 
|has player left={{{player1|TBD}}}
 
|has player right={{{player2|TBD}}}
 
|has player left page={{#var:{{{player1|TBD}}}_page|TBD}}
 
|has player right page={{#var:{{{player2|TBD}}}_page|TBD}}
 
|has player 1={{#ifeq:{{{map7win|}}}|draw|{{{player1|TBD}}} }}
 
|has winner={{#switch:{{{map7win|}}}
 
  |1={{{player1|TBD}}}
 
  |2={{{player2|TBD}}}
 
  |#default=
 
}}
 
|has player 2={{#ifeq:{{{map7win|}}}|draw|{{{player2|TBD}}} }}
 
|has loser={{#switch:{{{map7win|}}}
 
  |1={{{player2|TBD}}}
 
  |2={{{player1|TBD}}}
 
  |#default=
 
}}
 
|has winning race={{#switch:{{{map7win|}}}
 
  |1={{{map7p1race|{{{player1race|}}}}}}
 
  |2={{{map7p2race|{{{player2race|}}}}}}
 
  |#default=
 
}}
 
|has losing race={{#switch:{{{map7win|}}}
 
  |1={{{map7p2race|{{{player2race|}}}}}}
 
  |2={{{map7p1race|{{{player1race|}}}}}}
 
  |#default=
 
}}
 
|has winner page={{#switch:{{{map7win|}}}
 
  |1={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has loser page={{#switch:{{{map7win|}}}
 
  |1={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|is draw={{#ifeq:{{{map7win|}}}|draw|true|false}}
 
|is played on={{#explode:{{{map7|}}}|{{!}}|0}}
 
|Has map date={{#var:Match_date|{{#var:Group_date|}}}}{{#var:timezone}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
}}
 
}}
 
}}<!--
 
 
 
Map 8
 
-->{{#if:{{{map8|}}}|{{#ifeq:{{{map8win|}}}|skip| |<!--
 
-->{{#subobject:{{{player1|TBD}}}_vs_{{{player2|TBD}}}_on_{{{map8|TBA}}}_at_{{#var:Raw_Match_date|{{#var:Raw_Group_date|TBD}}}}_in_Match_{{#var:match_number|TBD}}_Map_8
 
|is map number=8
 
|has player left={{{player1|TBD}}}
 
|has player right={{{player2|TBD}}}
 
|has player left page={{#var:{{{player1|TBD}}}_page|TBD}}
 
|has player right page={{#var:{{{player2|TBD}}}_page|TBD}}
 
|has player 1={{#ifeq:{{{map8win|}}}|draw|{{{player1|TBD}}} }}
 
|has winner={{#switch:{{{map8win|}}}
 
  |1={{{player1|TBD}}}
 
  |2={{{player2|TBD}}}
 
  |#default=
 
}}
 
|has player 2={{#ifeq:{{{map8win|}}}|draw|{{{player2|TBD}}} }}
 
|has loser={{#switch:{{{map8win|}}}
 
  |1={{{player2|TBD}}}
 
  |2={{{player1|TBD}}}
 
  |#default=
 
}}
 
|has winning race={{#switch:{{{map8win|}}}
 
  |1={{{map8p1race|{{{player1race|}}}}}}
 
  |2={{{map8p2race|{{{player2race|}}}}}}
 
  |#default=
 
}}
 
|has losing race={{#switch:{{{map8win|}}}
 
  |1={{{map8p2race|{{{player2race|}}}}}}
 
  |2={{{map8p1race|{{{player1race|}}}}}}
 
  |#default=
 
}}
 
|has winner page={{#switch:{{{map8win|}}}
 
  |1={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has loser page={{#switch:{{{map8win|}}}
 
  |1={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|is draw={{#ifeq:{{{map8win|}}}|draw|true|false}}
 
|is played on={{#explode:{{{map8|}}}|{{!}}|0}}
 
|Has map date={{#var:Match_date|{{#var:Group_date|}}}}{{#var:timezone}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
}}
 
}}
 
}}<!--
 
 
 
Map 9
 
-->{{#if:{{{map9|}}}|{{#ifeq:{{{map9win|}}}|skip| |<!--
 
-->{{#subobject:{{{player1|TBD}}}_vs_{{{player2|TBD}}}_on_{{{map9|TBA}}}_at_{{#var:Raw_Match_date|{{#var:Raw_Group_date|TBD}}}}_in_Match_{{#var:match_number|TBD}}_Map_9
 
|is map number=9
 
|has player left={{{player1|TBD}}}
 
|has player right={{{player2|TBD}}}
 
|has player left page={{#var:{{{player1|TBD}}}_page|TBD}}
 
|has player right page={{#var:{{{player2|TBD}}}_page|TBD}}
 
|has player 1={{#ifeq:{{{map9win|}}}|draw|{{{player1|TBD}}} }}
 
|has winner={{#switch:{{{map9win|}}}
 
  |1={{{player1|TBD}}}
 
  |2={{{player2|TBD}}}
 
  |#default=
 
}}
 
|has player 2={{#ifeq:{{{map9win|}}}|draw|{{{player2|TBD}}} }}
 
|has loser={{#switch:{{{map9win|}}}
 
  |1={{{player2|TBD}}}
 
  |2={{{player1|TBD}}}
 
  |#default=
 
}}
 
|has winning race={{#switch:{{{map9win|}}}
 
  |1={{{map9p1race|{{{player1race|}}}}}}
 
  |2={{{map9p2race|{{{player2race|}}}}}}
 
  |#default=
 
}}
 
|has losing race={{#switch:{{{map9win|}}}
 
  |1={{{map9p2race|{{{player2race|}}}}}}
 
  |2={{{map9p1race|{{{player1race|}}}}}}
 
  |#default=
 
}}
 
|has winner page={{#switch:{{{map9win|}}}
 
  |1={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|has loser page={{#switch:{{{map9win|}}}
 
  |1={{#var:{{{player2|TBD}}}_page|TBD}}
 
  |2={{#var:{{{player1|TBD}}}_page|TBD}}
 
  |#default=
 
}}
 
|is draw={{#ifeq:{{{map9win|}}}|draw|true|false}}
 
|is played on={{#explode:{{{map8|}}}|{{!}}|0}}
 
|Has map date={{#var:Match_date|{{#var:Group_date|}}}}{{#var:timezone}}
 
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament={{FULLPAGENAME}}
 
|Has tournament tier={{#var:tournament_tier|}}
 
|Has tournament tier={{#var:tournament_tier|}}
}}
+
|Has match stream={{{stream|{{#var:stream|}}}}}
}}
+
|Has tournament name={{#var:tournament_ticker_name|{{#var:tournament_name|{{FULLPAGENAME}}}}}}
}}}}<!--
+
|Has tournament icon={{#var:tournament_icon|}}
--></includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Templates]]</noinclude>
+
|Is finished={{#if:{{#var:finished|}}|{{#var:finished|}}|{{#if:{{#var:Match_date|}}|{{#ifexpr:({{#time:U}}-{{#time:U|{{#var:Match_date}}{{#var:timezone}}}}) > 30800|true|false}}|false}}}}
 +
|Has team left score={{#var:player1wins|0}}
 +
|Has team right score={{#var:player2wins|0}}
 +
|has exact time={{#if:{{#var:timezone|}}|true|false}}
 +
}}{{#vardefine:player1wins|0}}{{#vardefine:player2wins|0}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 22:30, 22 March 2021

Documentation (view - edit)

Related templates:

This template is used wrapped inside {{MatchList}} to display rows of matches in a group, expanded or hidden. It supports an unlimited number of matches, with each match being up to best of nine.

A big way this template differs from most others is that you will use another template, {{MatchList}}, surrounding the MatchMaps template(s).

Enclosing MatchList title
Team winning TBD 2
TBD Team winning
TBD Team losing
December 29, 20:00 UTC
NoCheck.png
92 
 
GreenCheck.png
 231
 
dm2
dot, Zepp, gor, gLAd
bps, raket, ok98, shaka
GreenCheck.png
230 
 
NoCheck.png
 221
 
e1m2
dot, Zepp, gor, gLAd
bps, raket, ok98, tumult
GreenCheck.png
235 
 
NoCheck.png
 126
 
dm3
dot, Zepp, gor, gLAd
bps, raket, ok98, shaka
1 TBD Team losing
Team winning on walkover TBD WO
TBD Team winning on walkover
TBD Team losing on walkover
December 29
- TBD Team losing on walkover
Team draw TBD 1
TBD Team draw
TBD Team draw
December 29, 20:00 UTC
1 TBD Team draw
Team1 in voided match TBD voided TBD Team2 in voided match

MatchMaps

|title=
(Optional) set to add a title in a separate row before the set of matches.
|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. It will display above the match, as a gray header row.
|player1=
|player2=
set the name of the player 1 & 2.
|player1flag=
|player2flag=
set the flag for player 1 & 2 with the two letter ISO code.
|player1link=
|player2link=
(Optional) set an alternate link for the player.
|winner=  1 or 2 
set the winner of the match with "1" or "2". Scores will show.
|walkover=  1 or 2 
set the winner of the match by walkover to "1" or "2". Scores don't show, but the winner will show  WO  and the loser will show   -  
|winner=  draw 
set if the game was a draw. Scores will show (and should be equivalent).
|winner=  void 
set if the game was voided. No scores will show.
|mapX=
set the name of the map.
|mapXwin=
set the winner of the map with "1" or "2".
|comment=
(Optional) to add a comment after the set of match results.

Copy/Paste

{{MatchList
|width=100%
|title=My matchlist title
|hide=false

|match1={{MatchMaps
|player1= |player1flag=
|player2= |player2flag=
|winner=
|walkover=
|games1= |games2=
|details={{BracketMatchSummary
|date=
|comment=
|map1win= |map1= |map1p1frags= |map1p2frags= |map1p1lineup= |map1p2lineup= |map1ot=
|map2win= |map2= |map2p1frags= |map2p2frags= |map2p1lineup= |map2p2lineup= |map2ot=
|map3win= |map3= |map3p1frags= |map3p2frags= |map3p1lineup= |map3p2lineup= |map3ot=
}}
}}

|match2={{MatchMaps
|player1= |player1flag=
|player2= |player2flag=
|winner=
|walkover=
|games1= |games2=
|details={{BracketMatchSummary
|date=
|comment=
|map1win= |map1= |map1p1frags= |map1p2frags= |map1p1lineup= |map1p2lineup= |map1ot=
|map2win= |map2= |map2p1frags= |map2p2frags= |map2p1lineup= |map2p2lineup= |map2ot=
|map3win= |map3= |map3p1frags= |map3p2frags= |map3p1lineup= |map3p2lineup= |map3ot=
}}
}}

|match3={{MatchMaps
|player1= |player1flag=
|player2= |player2flag=
|winner=
|walkover=
|games1= |games2=
|details={{BracketMatchSummary
|date=
|comment=
|map1win= |map1= |map1p1frags= |map1p2frags= |map1p1lineup= |map1p2lineup= |map1ot=
|map2win= |map2= |map2p1frags= |map2p2frags= |map2p1lineup= |map2p2lineup= |map2ot=
|map3win= |map3= |map3p1frags= |map3p2frags= |map3p1lineup= |map3p2lineup= |map3ot=
}}
}}

|match4={{MatchMaps
|player1= |player1flag=
|player2= |player2flag=
|winner=
|walkover=
|games1= |games2=
|details={{BracketMatchSummary
|date=
|comment=
|map1win= |map1= |map1p1frags= |map1p2frags= |map1p1lineup= |map1p2lineup= |map1ot=
|map2win= |map2= |map2p1frags= |map2p2frags= |map2p1lineup= |map2p2lineup= |map2ot=
|map3win= |map3= |map3p1frags= |map3p2frags= |map3p1lineup= |map3p2lineup= |map3ot=
}}
}}

<!-- Copy/paste blocks of matches to the number of matches you need, remember to change |matchX, and don't forget the ending '}}' following this comment, which ends the list. This comment can safely be removed. -->

}}



Adapted from Liquipedia