Difference between revisions of "Template:MatchMaps"

From comp.tf
Jump to navigation Jump to search
m (Undo revision 30605 by Efefknee (talk))
m
Line 7: Line 7:
 
-->}}<tr class="match-row">
 
-->}}<tr class="match-row">
 
<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"}}><!--
 
<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:{{{team1|}}}|{{team2/{{{team1}}}}}}} <!--
+
--> {{#if:{{{team1|}}}|{{team2/{{lc:{{{team1}}}}}}}}} <!--
--> {{#if:{{{team1tf|}}}|{{team2/tf|{{{team1tf}}}}}}}</td>
+
--> {{#if:{{{team1tf|}}}|{{team2/tf|{{{team1tf}}}}}}} <!--
 +
--></td>
 
<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}}}}<!--
 
<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:{{{details|}}}|<div class="bracket-game-details" style="margin-left:{{#expr:({{{width|300}}}-580)/2}}px;">
 
-->{{#if:{{{details|}}}|<div class="bracket-game-details" style="margin-left:{{#expr:({{{width|300}}}-580)/2}}px;">
 
<div class="header">
 
<div class="header">
<div class="left">{{#if:{{{team1|}}}|{{team2/{{{team1}}}}}}} <!--
+
<div class="left">{{#if:{{{team1|}}}|{{team2/{{lc:{{{team1}}}}}}}}} <!--
 
--> {{#if:{{{team1tf|}}}|{{team2/tf|{{{team1tf}}}}}}} </div>
 
--> {{#if:{{{team1tf|}}}|{{team2/tf|{{{team1tf}}}}}}} </div>
<div class="right">{{#if:{{{team2|}}}|{{team1/{{{team2}}}}}}} <!--
+
<div class="right">{{#if:{{{team2|}}}|{{team1/{{lc:{{{team2}}}}}}}}} <!--
 
--> {{#if:{{{team2tf|}}}|{{team1/tf|{{{team2tf}}}}}}} </div>
 
--> {{#if:{{{team2tf|}}}|{{team1/tf|{{{team2tf}}}}}}} </div>
 
</div>
 
</div>
Line 22: Line 23:
 
<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>
 
<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>
 
<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"}}><!--
 
<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"}}><!--
-->{{#if:{{{team2|}}}|{{team1/{{{team2}}}}}}} <!--
+
-->{{#if:{{{team2|}}}|{{team1/{{lc:{{{team2}}}}}}}}} <!--
 
--> {{#if:{{{team2tf|}}}|{{team1/tf|{{{team2tf}}}}}}}</td>
 
--> {{#if:{{{team2tf|}}}|{{team1/tf|{{{team2tf}}}}}}}</td>
 
</tr><!--
 
</tr><!--
Line 44: Line 45:
 
|Has team right score={{#var:team2wins|0}}
 
|Has team right score={{#var:team2wins|0}}
 
|has exact time={{#if:{{#var:timezone|}}|true|false}}
 
|has exact time={{#if:{{#var:timezone|}}|true|false}}
}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}</includeonly><noinclude>[[Category:Source Liquipedia]]{{documentation}}</noinclude>
+
}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}[[Category:Source Liquipedia]]</noinclude>

Revision as of 17:52, 21 May 2016

(view - edit) Documentation

This template is used by: