Difference between revisions of "Template:MatchMaps"

From comp.tf
Jump to navigation Jump to search
m
m (Testing out again)
Line 1: Line 1:
<includeonly>{{#if:{{{date|}}}|<tr>
+
<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;"><!--
+
--><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>
Icons for VODs
+
</tr><!--
-->{{#if:{{{log|}}} {{{log1|}}} {{{log2|}}} {{{tftv|}}} {{{esea|}}} {{{esea1|}}} {{{etf2l|}}}|<span style="float:left;"><!--
+
-->}}<tr class="match-row">
-->{{#if:{{{tftv|}}}|[[File:TeamfortressTV icon.png|link=http://www.teamfortress.tv/thread/{{{tftv}}}|16px|TF.TV matchpage]]}} <!--
+
<td class="matchlistslot" width="42%" align="right" {{#ifeq:{{{winner|}}}|1|style="font-weight:bold; background-color:#cfc"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold; background-color:#FFFFBB"}}><!--
-->{{#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:{{{team1|}}}|{{team2/{{lc:{{{team1}}}}}}}}} <!--
-->{{#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]]}} <!--
+
--></td>
-->{{#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]]}} <!--
+
<td width="8%" align="center" {{#switch:{{{default|}}}|1=style="font-weight:bold;"> W|2=> -|{{#ifeq:{{{winner|}}}|1|style="font-weight:bold;"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;"}}> {{#if:{{{games1|}}}|{{{games1}}}|0}}}}<!--
-->{{#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:{{{details|}}}|<div class="bracket-game-details" style="margin-left:{{#expr:({{{width|300}}}-580)/2}}px;">
-->{{#if:{{{etf2l|}}}|[[File:ETF2L-Icon.png|link=http://etf2l.org/matches/{{{etf2l}}}|16px|Match page on ETF2L]]}} <!--
+
<div class="header">
-->{{#if:{{{log|}}}|[[File:Logs.tf icon.png|link=http://logs.tf/{{{log}}}|16px|Game logs]]}} <!--
+
<div class="left">{{#if:{{{team1|}}}|{{team2/{{lc:{{{team1}}}}}}}|&nbsp;}}</div>
-->{{#if:{{{loggc|}}}|[[File:Logs.tf icon.png|link=http://logs.tf/{{{loggc}}}|16px|Golden Cap Game logs]]}} <!--
+
<div class="right">{{#if:{{{team2|}}}|{{team1/{{lc:{{{team2}}}}}}}|&nbsp;}}</div>
-->{{#if:{{{log1|}}}|[[File:Logs.tf icon.png|link=http://logs.tf/{{{log1}}}|16px|Logs for game 1]]}} <!--
+
</div>
-->{{#if:{{{log1gc|}}}|[[File:Logs.tf icon.png|link=http://logs.tf/{{{log1gc}}}|16px|Logs for game 1 golden cap]]}} <!--
+
{{{details}}}<!--
-->{{#if:{{{log2|}}}|[[File:Logs.tf icon.png|link=http://logs.tf/{{{log2}}}|16px|Logs for game 2]]}} <!--
+
--> </div>}}<!--
-->{{#if:{{{log2gc|}}}|[[File:Logs.tf icon.png|link=http://logs.tf/{{{log2gc}}}|16px|Logs for game 2 golden cap]]}} <!--
+
--></td>
-->{{#if:{{{log3|}}}|[[File:Logs.tf icon.png|link=http://logs.tf/{{{log3}}}|16px|Logs for game 3]]}} <!--
+
<td width="8%" align="center" {{#switch:{{{default|}}}|2=style="font-weight:bold;"> W|1=> -|{{#ifeq:{{{winner|}}}|2|style="font-weight:bold;"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold;"}}> {{#if:{{{games2|}}}|{{{games2}}}|0}}}}</td>
-->{{#if:{{{log3gc|}}}|[[File:Logs.tf icon.png|link=http://logs.tf/{{{log3gc}}}|16px|Logs for game 3 golden cap]]}}</span>}}</div><!--
+
<td class="matchlistslot" width="42%" {{#ifeq:{{{winner|}}}|2|style="font-weight:bold; background-color:#cfc"}}{{#ifeq:{{{winner|}}}|draw|style="font-weight:bold; background-color:#FFFFBB"}}><!--
--><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;"><!--
+
-->{{#if:{{{team2|}}}|{{team/{{lc:{{{team2}}}}}}}}}</td>
Icons for stats, HLTV, etc.
+
</tr></includeonly><noinclude>{{documentation}}</noinclude>
-->{{#if:{{{vod|}}} {{{youtube|}}} {{{youtube1|}}} {{{youtube2|}}} {{{youtube3|}}} {{{youtube4|}}}|<span style="float:right;margin-top:2px;"> <!--
 
-->{{#if:{{{vod|}}}|[[File:VOD_icon.png|link={{{vod}}}|15px|Game VOD]]}} <!--
 
-->{{#if:{{{youtube|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube1}}}|Game VOD]]}} <!--
 
-->{{#if:{{{youtubegc|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube1gc}}}|Game VOD for golden cap]]}} <!--
 
-->{{#if:{{{youtube1|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube1}}}|VOD for game 1]]}} <!--
 
-->{{#if:{{{youtube1gc|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube1gc}}}|VOD for game 1 golden cap]]}} <!--
 
-->{{#if:{{{youtube2|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube2}}}|VOD for game 2]]}} <!--
 
-->{{#if:{{{youtube2gc|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube2gc}}}|VOD for game 2 golden cap]]}} <!--
 
-->{{#if:{{{youtube3|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube3}}}|VOD for game 3]]}} <!--
 
-->{{#if:{{{youtube3gc|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube3gc}}}|VOD for game 3 golden cap]]}} <!--
 
-->{{#if:{{{interview|}}}|[[File:Int_Icon.png|link={{{interview}}}|15px|Interview]]}} </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:{{{T1|}}}|{{Team2/{{{T1}}}}}}}</td>
 
<td width="6%" align="center" {{#switch:{{{default|}}}|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:{{{default|}}}|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:{{{T2|}}}|{{Team1/{{{T2}}}}}}}</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>
 

Revision as of 22:59, 22 August 2015

(view - edit) Documentation

This template is used by: