Difference between revisions of "Template:MatchMaps"
From QWiki
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{ | + | <includeonly>{{#if:{{{title|}}}|<tr><th colspan="4">{{{title}}}</th></tr>}}<!-- |
− | -->{{# | + | -->{{#if:{{{date|}}}|<tr><!-- |
− | -->{{#vardefine: | + | -->{{#vardefine:Match_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|- |}}}}<!-- |
− | -->{{#vardefine: | + | -->{{#vardefine:Raw_Match_date|{{#explode:{{{date|}}}|<|0}}}}<!-- |
− | --><td colspan="4" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px;" | + | -->{{#vardefine:disable_SMW_storage|{{{disable_SMW_storage|}}}}}<!-- |
− | </tr><!-- | + | --><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>}}<!-- |
− | <td class="matchlistslot" width=" | + | --><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"> | |
− | --> {{#if:{{{ | + | <td colspan="4" style="font-size:85%; line-height:130%; text-align:left;"> |
− | --> {{#if:{{{ | + | {{#if:{{{map1|}}}|{{MapWinner|{{{map1|}}}|{{{map1win|}}}}}}}<!-- |
− | --> {{#if:{{{ | + | -->{{#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:{{{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:{{{vod|}}}|[[File:vod.png|link={{{vod}}}|15px|Watch VOD]]}} <!-- | ||
+ | -->{{#if:{{{vodgame1|}}}|{{{vodgame1|}}}}} <!-- | ||
+ | -->{{#if:{{{vodgame2|}}}|{{{vodgame2|}}}}} <!-- | ||
+ | -->{{#if:{{{vodgame3|}}}|{{{vodgame3|}}}}} <!-- | ||
+ | -->{{#if:{{{vodgame4|}}}|{{{vodgame4|}}}}} <!-- | ||
+ | -->{{#if:{{{vodgame5|}}}|{{{vodgame5|}}}}} <!-- | ||
+ | -->{{#if:{{{vodgame6|}}}|{{{vodgame6|}}}}} <!-- | ||
+ | -->{{#if:{{{vodgame7|}}}|{{{vodgame7|}}}}} <!-- | ||
+ | -->{{#if:{{{vodgame8|}}}|{{{vodgame8|}}}}} <!-- | ||
+ | -->{{#if:{{{vodgame9|}}}|{{{vodgame9|}}}}} <!-- | ||
+ | -->{{#if:{{{interview|}}}|[[File:Int_Icon.png|link={{{interview}}}|20px|Interview]]}} <!-- | ||
+ | -->{{#if:{{{review|}}}|[[File:Writers_Icon.png|link={{{review}}}|15px|Recap]]}}<!-- | ||
+ | -->{{#if:{{{recap|}}}|[[File:Writers_Icon.png|link={{{recap}}}|15px|Recap]]}}<!-- | ||
+ | --></td></tr>}}<!-- | ||
+ | -->{{#if:{{{comment|}}}|<tr> | ||
+ | <td colspan="4">{{{comment}}}</td> | ||
+ | </tr>}}{{#ifeq:{{#var:disable_SMW_storage|}}|true||<!-- | ||
+ | |||
+ | Big junk of SMW | ||
− | + | Map 1 | |
− | -->{{# | + | -->{{#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 |
− | + | |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:{{{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 | ||
− | |has | + | |is draw={{#ifeq:{{{map1win|}}}|draw|true|false}} |
− | |has | + | |is played on={{#explode:{{{map1|}}}|{{!}}|0}} |
− | |Has map date={{#var:Match_date}}{{#var:timezone}} | + | |Has map date={{#var:Match_date|{{#var:Group_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|}} | ||
− | + | }} | |
− | + | }} | |
− | + | }}}}<!-- | |
− | + | --></includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Templates]]</noinclude> | |
− | |||
− | |||
− | |||
− |
Revision as of 20:16, 10 March 2017
Documentation (view - edit)
Related templates:
- {{MatchList}}
- {{MatchListNoheader}}
- {{MapWinner}}
- {{MatchAbbr}}
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 | 0 | 0 | Team losing |
Team winning on walkover | W | - | Team losing on walkover |
Team draw | 0 | 0 | Team draw |
Team1 in voided match | 0 | 0 | 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