Difference between revisions of "Template:MatchMaps"
Jump to navigation
Jump to search
(Created page with "<includeonly><table class="{{{class|wikitable matchlist collapsible{{#ifeq:{{lc:{{{uncollapsed-maps|}}}}}|true|uncollapsed-maps}} {{#ifeq:{{lc:{{{hide}}}}}|false||collapsed}}}...") |
m (Changed to the right code) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#if:{{{date|}}}|<tr> |
− | < | + | <td colspan="4" style="font-weight:bold; background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px;"><div style="float:left;width:20%;min-height:16px;"><!-- |
− | -->{{#if:{{{ | + | Icons for VODs |
− | -->{{#if:{{{ | + | -->{{#if:{{{log|}}} {{{log1|}}} {{{tftv|}}} {{{esea|}}} {{{esea1|}}} {{{etf2l|}}}|<span style="float:left;"><!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{tftv|}}}|[[File:TeamfortressTV icon.png|link=http://www.teamfortress.tv/thread/{{{tftv}}}|16px|TF.TV matchpage]]}} <!-- |
− | -->{{#if:{{{ | + | -->{{#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]]}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{esea1|}}}|[[File:EseaLogo.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea1}}}|Match page and stats for game 1 on ESEA]]}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{esea2|}}}|[[File:EseaLogo.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea2}}}|Match page and stats for game 2 on ESEA]]}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{esea3|}}}|[[File:EseaLogo.png|link=http://play.esea.net/index.php?s=stats&d=match&id={{{esea3}}}|Match page and stats for game 3 on ESEA]]}} <!-- |
− | {{ | + | -->{{#if:{{{etf2l|}}}|[[File:ETF2L-Icon.png|link=http://etf2l.org/matches/{{{etf2l}}}|16px|ETF2L matchpage]]|Match page on ETF2L}} <!-- |
− | + | -->{{#if:{{{log|}}}|[[File:Logs.tf icon.png|link=http://logs.tf/{{{log}}}|16px|XXX]]}} <!-- | |
+ | -->{{#if:{{{log1|}}}|[[File:Logs.tf icon.png|link=http://hltv.org/match/{{{log2}}}|16px|XXX]]}} <!-- | ||
+ | -->{{#if:{{{log2|}}}|[[File:Logs.tf icon.png|link=http://hltv.org/match/{{{log3}}}|16px|XXX]]}} <!-- | ||
+ | -->{{#if:{{{log3|}}}|[[File:Logs.tf icon.png|link=http://hltv.org/match/{{{log3}}}|16px|XXX]]}} </span>}}</div><!-- | ||
+ | --><div style="float:left;width:60%;height:{{#ifeq:{{{approx-time|}}}|true|32px|auto}};"><center style="margin-top:3px;">{{#if:{{{finished|}}}|{{{date}}}|{{#ifeq:{{{approx-time|}}}|true|~ }}{{{date}}}<span class="streamLink">{{{stream|}}}</span><span class="datetime" style="display:none">{{{date}}}</span><span style="padding:5px 0px 0px 0px; display:block;" class="countdown"></span>}}</center></div><div style="float:left;width:20%;height:auto;"><!-- | ||
+ | Icons for stats, HLTV, etc. | ||
+ | -->{{#if:{{{vod|}}} {{{vod1|}}} {{{vod2|}}} {{{vod3|}}} {{{vodgame1|}}} {{{vodgame2|}}} {{{vodgame3|}}} |<span style="float:right;margin-top:2px;"> <!-- | ||
+ | -->{{#if:{{{vod|}}}|{{vodlink|vod={{{vod}}}|source=url}}}} <!-- | ||
+ | -->{{#if:{{{vod1|{{{vodgame1|}}}}}}|{{vodlink|gamenum=1|vod={{{vod1|{{{vodgame1|}}}}}}|source=url}}}} <!-- | ||
+ | -->{{#if:{{{vod2|{{{vodgame2|}}}}}}|{{vodlink|gamenum=2|vod={{{vod2|{{{vodgame2|}}}}}}|source=url}}}} <!-- | ||
+ | -->{{#if:{{{vod3|{{{vodgame3|}}}}}}|{{vodlink|gamenum=3|vod={{{vod3|{{{vodgame3|}}}}}}|source=url}}}} </span>}}</div></td> | ||
+ | </tr>}}<!-- | ||
+ | --><tr> | ||
+ | <td class="matchlistslot" width="44%" align="right" {{#ifeq:{{{winner|}}}|1|style="font-weight:bold; background-color:#dfd"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold; background-color:#ffd"}}><!-- | ||
+ | --> {{#if:{{{team1|}}}|{{Team/{{lc:{{{team1}}}}}}}}}</td> | ||
+ | <td width="6%" align="center" {{#switch:{{{walkover|}}}|1=style="font-weight:bold;"> W|2=>|{{#ifeq:{{{winner|}}}|1|style="font-weight:bold;"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;"}}> | ||
+ | {{{games1|0 [[Category:Template MatchMaps missing scores]]}}}}}</td> | ||
+ | <td width="6%" align="center" {{#switch:{{{walkover|}}}|2=style="font-weight:bold;"> W|1=>|{{#ifeq:{{{winner|}}}|2|style="font-weight:bold;"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;"}}> | ||
+ | {{{games2|0}}}}}</td> | ||
+ | <td class="matchlistslot" width="44%" {{#ifeq:{{{winner|}}}|2|style="font-weight:bold; background-color:#dfd"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold; background-color:#ffd"}}><!-- | ||
+ | --> {{#if:{{{team2|}}}|{{Team/{{lc:{{{team2}}}}}}}}}</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:{{{map1score|}}}|<div style="text-align:center;">{{{map1score}}}</div>}}<!-- | ||
+ | -->{{#if:{{{map2|}}}|{{MapWinner|{{{map2|}}}|{{{map2win|}}}}}}}{{#if:{{{map2score|}}}|<div style="text-align:center;">{{{map2score}}}</div>}}<!-- | ||
+ | -->{{#if:{{{map3|}}}|{{MapWinner|{{{map3|}}}|{{{map3win|}}}}}}}{{#if:{{{map3score|}}}|<div style="text-align:center;">{{{map3score}}}</div>}}<!-- | ||
+ | -->{{#if:{{{map4|}}}|{{MapWinner|{{{map4|}}}|{{{map4win|}}}}}}}{{#if:{{{map4score|}}}|<div style="text-align:center;">{{{map4score}}}</div>}}<!-- | ||
+ | -->{{#if:{{{map5|}}}|{{MapWinner|{{{map5|}}}|{{{map5win|}}}}}}}{{#if:{{{map5score|}}}|<div style="text-align:center;">{{{map5score}}}</div>}}<!-- | ||
+ | -->{{#if:{{{map6|}}}|{{MapWinner|{{{map6|}}}|{{{map6win|}}}}}}}{{#if:{{{map6score|}}}|<div style="text-align:center;">{{{map6score}}}</div>}}<!-- | ||
+ | -->{{#if:{{{map7|}}}|{{MapWinner|{{{map7|}}}|{{{map7win|}}}}}}}{{#if:{{{map7score|}}}|<div style="text-align:center;">{{{map7score}}}</div>}}<!-- | ||
+ | -->{{#if:{{{map8|}}}|{{MapWinner|{{{map8|}}}|{{{map8win|}}}}}}}{{#if:{{{map8score|}}}|<div style="text-align:center;">{{{map8score}}}</div>}}<!-- | ||
+ | -->{{#if:{{{map9|}}}|{{MapWinner|{{{map9|}}}|{{{map9win|}}}}}}}{{#if:{{{map9score|}}}|<div style="text-align:center;">{{{map9score}}}</div>}}</td>}} | ||
+ | </tr></includeonly><noinclude>{{documentation}}[[Category:Source Liquipedia]]</noinclude> |