Difference between revisions of "Template:MatchMaps"

From comp.tf
Jump to navigation Jump to search
m (minor fix)
m (Y -> y + default)
Line 16: Line 16:
 
Icons for stats, HLTV, etc.
 
Icons for stats, HLTV, etc.
 
-->{{#if:{{{youtube|}}} {{{youtube1|}}} {{{youtube2|}}} {{{youtube3|}}}|<span style="float:right;margin-top:2px;"> <!--
 
-->{{#if:{{{youtube|}}} {{{youtube1|}}} {{{youtube2|}}} {{{youtube3|}}}|<span style="float:right;margin-top:2px;"> <!--
-->{{#if:{{{youtube|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{Youtube}}}|VOD for game 1]]}} <!--
+
-->{{#if:{{{youtube|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube}}}|VOD for game 1]]}} <!--
-->{{#if:{{{youtube1|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{Youtube1}}}|VOD for game 2]]}} <!--
+
-->{{#if:{{{youtube1|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube1}}}|VOD for game 2]]}} <!--
-->{{#if:{{{youtube2|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{Youtube2}}}|VOD for game 3]]}} <!--
+
-->{{#if:{{{youtube2|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube2}}}|VOD for game 3]]}} <!--
-->{{#if:{{{youtube3|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{Youtube3}}}|VOD for game 4]]}} <!--
+
-->{{#if:{{{youtube3|}}}|[[File:Youtube_icon.png|link=https://youtu.be/{{{youtube3}}}|VOD for game 4]]}} <!--
 
-->{{#if:{{{interview|}}}|[[File:Int_Icon.png|link={{{interview}}}|20px|Interview]]}} </span>}}</div></td>
 
-->{{#if:{{{interview|}}}|[[File:Int_Icon.png|link={{{interview}}}|20px|Interview]]}} </span>}}</div></td>
 
</tr>}}<!--
 
</tr>}}<!--
Line 25: Line 25:
 
<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"}}><!--
 
<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>
 
--> {{#if:{{{T1|}}}|{{Team2/{{{T1}}}}}}}</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;"}}>
+
<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>
 
{{{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;"}}>
+
<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>
 
{{{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"}}><!--
 
<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"}}><!--

Revision as of 20:20, 17 July 2015

(view - edit) Documentation

This template is used by: