Difference between revisions of "Template:MatchMaps"

From comp.tf
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><table class="{{{class|wikitable matchlist collapsible{{#ifeq:{{lc:{{{uncollapsed-maps|}}}}}|true|uncollapsed-maps}} {{#ifeq:{{lc:{{{hide}}}}}|false||collapsed}}}}}" style="width:{{{width|300px}}}; margin: -1px 0 0 0;">
+
<includeonly>{{#if:{{{date|}}}|<tr>
<tr><th colspan="4"> {{{1|{{{title|Match List}}}}}}<!-- Icons for interviews preview vod etc.
+
<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:{{{preview|}}} {{{lrthread|}}} {{{vod|}}} {{{interview|}}} {{{review|}}} {{{recap|}}}|<span style="float:right;"><!--
+
Icons for VODs
-->{{#if:{{{preview|}}}|[[File:Preview Icon.png|link={{{preview}}}|alt=preview|15px|Preview]]}} <!--
+
-->{{#if:{{{log|}}} {{{log1|}}} {{{tftv|}}} {{{esea|}}} {{{esea1|}}} {{{etf2l|}}}|<span style="float:left;"><!--
-->{{#if:{{{lrthread|}}}|[[File:LiveReport.png|link={{{lrthread}}}|alt=lrthread|15px|Live Report Thread]]}} <!--
+
-->{{#if:{{{tftv|}}}|[[File:TeamfortressTV icon.png|link=http://www.teamfortress.tv/thread/{{{tftv}}}|16px|TF.TV matchpage]]}} <!--
-->{{#if:{{{vod|}}}|[[File:vod.png|link={{{vod}}}|15px|Watch VOD]]}} <!--
+
-->{{#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:{{{interview|}}}|[[File:Int_Icon.png|link={{{interview}}}|20px|Interview]]}} <!--
+
-->{{#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:{{{recap|}}}|[[File:Writers_Icon.png|link={{{recap}}}|15px|Recap]]}} <!--
+
-->{{#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:{{{review|}}}|[[File:Writers_Icon.png|link={{{review}}}|15px|Recap]]}}</span> }}</th></tr><!-- List of matches (up to 50) -->
+
-->{{#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]]}} <!--
{{{match1|}}}{{{match2|}}}{{{match3|}}}{{{match4|}}}{{{match5|}}}{{{match6|}}}{{{match7|}}}{{{match8|}}}{{{match9|}}}{{{match10|}}}{{{match11|}}}{{{match12|}}}{{{match13|}}}{{{match14|}}}{{{match15|}}}{{{match16|}}}{{{match17|}}}{{{match18|}}}{{{match19|}}}{{{match20|}}}{{{match21|}}}{{{match22|}}}{{{match23|}}}{{{match24|}}}{{{match25|}}}{{{match26|}}}{{{match27|}}}{{{match28|}}}{{{match29|}}}{{{match30|}}}{{{match31|}}}{{{match32|}}}{{{match33|}}}{{{match34|}}}{{{match35|}}}{{{match36|}}}{{{match37|}}}{{{match38|}}}{{{match39|}}}{{{match40|}}}{{{match41|}}}{{{match42|}}}{{{match43|}}}{{{match44|}}}{{{match45|}}}{{{match46|}}}{{{match47|}}}{{{match48|}}}{{{match49|}}}{{{match50|}}}{{{match51|}}}{{{match52|}}}{{{match53|}}}{{{match54|}}}{{{match55|}}}{{{match56|}}}{{{match57|}}}{{{match58|}}}{{{match59|}}}{{{match60|}}}{{{match61|}}}{{{match62|}}}{{{match63|}}}{{{match64|}}}{{{match65|}}}{{{match66|}}}{{{match67|}}}{{{match68|}}}{{{match69|}}}{{{match70|}}}{{{match71|}}}{{{match72|}}}{{{match73|}}}{{{match74|}}}{{{match75|}}}{{{match76|}}}{{{match77|}}}{{{match78|}}}{{{match79|}}}{{{match80|}}}{{{match81|}}}{{{match82|}}}{{{match83|}}}{{{match84|}}}{{{match85|}}}{{{match86|}}}{{{match87|}}}{{{match88|}}}{{{match89|}}}{{{match90|}}}{{{match91|}}}{{{match92|}}}{{{match93|}}}{{{match94|}}}{{{match95|}}}{{{match96|}}}{{{match97|}}}{{{match98|}}}{{{match99|}}}{{{match100|}}}{{{match101|}}}{{{match102|}}}{{{match103|}}}{{{match104|}}}{{{match105|}}}{{{match106|}}}{{{match107|}}}{{{match108|}}}{{{match109|}}}{{{match110|}}}{{{match111|}}}{{{match112|}}}{{{match113|}}}{{{match114|}}}{{{match115|}}}{{{match116|}}}{{{match117|}}}{{{match118|}}}{{{match119|}}}{{{match120|}}}{{{match121|}}}{{{match122|}}}{{{match123|}}}{{{match124|}}}{{{match125|}}}{{{match126|}}}{{{match127|}}}{{{match128|}}}{{{match129|}}}{{{match130|}}}{{{match131|}}}{{{match132|}}}{{{match133|}}}{{{match134|}}}{{{match135|}}}{{{match136|}}}{{{match137|}}}{{{match138|}}}{{{match139|}}}{{{match140|}}}{{{match141|}}}{{{match142|}}}{{{match143|}}}{{{match144|}}}{{{match145|}}}{{{match146|}}}{{{match147|}}}{{{match148|}}}{{{match149|}}}{{{match150|}}}{{{match151|}}}{{{match152|}}}{{{match153|}}}{{{match154|}}}{{{match155|}}}{{{match156|}}}{{{match157|}}}{{{match158|}}}{{{match159|}}}{{{match160|}}}{{{match161|}}}{{{match162|}}}{{{match163|}}}{{{match164|}}}{{{match165|}}}{{{match166|}}}{{{match167|}}}{{{match168|}}}{{{match169|}}}{{{match170|}}}{{{match171|}}}{{{match172|}}}{{{match173|}}}{{{match174|}}}{{{match175|}}}{{{match176|}}}{{{match177|}}}{{{match178|}}}{{{match179|}}}{{{match180|}}}{{{match181|}}}{{{match182|}}}{{{match183|}}}{{{match184|}}}{{{match185|}}}{{{match186|}}}{{{match187|}}}{{{match188|}}}{{{match189|}}}{{{match190|}}}{{{match191|}}}{{{match192|}}}{{{match193|}}}{{{match194|}}}{{{match195|}}}{{{match196|}}}{{{match197|}}}{{{match198|}}}{{{match199|}}}{{{match200|}}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}
+
-->{{#if:{{{etf2l|}}}|[[File:ETF2L-Icon.png|link=http://etf2l.org/matches/{{{etf2l}}}|16px|ETF2L matchpage]]|Match page on ETF2L}} <!--
</table></includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Source Liquipedia]][[Category:Templates]]</noinclude>
+
-->{{#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>

Revision as of 23:21, 5 July 2015

(view - edit) Documentation

This template is used by: