Difference between revisions of "Template:ETF2L bracket (short)"

From comp.tf
Jump to navigation Jump to search
m (Added details, hopefully.)
(Undo revision 14665 by Efefknee (talk) Nope nope nope nope nope)
Line 1: Line 1:
 
<div class="bracket-wrapper">
 
<div class="bracket-wrapper">
<div style="width:{{#expr:{{{column-width|150}}}*3+45}}px" class="bracket">
+
<div style="width:{{#expr:{{{column-width|170}}}*3+45}}px" class="bracket">
   <div class="bracket-column" style="width:{{{column-width|150}}}px">
+
   <div class="bracket-column" style="width:{{{column-width|170}}}px">
 
<div style="height:52px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R1|Round 1}}}</div>}}</div>
 
<div style="height:52px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R1|Round 1}}}</div>}}</div>
 
<div class="bracket-cell-r1" style="{{#if:{{{R1D1win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R1D1win|}}}|font-weight:bold}}">
<div class="bracket-team-top" style="{{#if:{{{R1D1race|}}}|background:{{RaceColor|{{{R1D1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D1flag|}}}|{{FlagNoLink/{{lc:{{{R1D1flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D1|R1D1}}}</span><div class="bracket-score" style="width:21px">{{{R1D1score|}}}</div></div></div>
+
<div class="bracket-team-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D1team|}}}|{{{R1D1team}}}|}}
{{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
+
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D1score|}}}</div></div></div>
<div class="header">
 
<div class="left">{{#if:{{{R1D1team|}}}|{{Team2/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|<span style="vertical-align:-1px;">{{{R1D1}}}</span>{{Team2/tf}}|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}|&nbsp;}}}}}}</div>
 
<div class="right">{{#if:{{{R1D2team|}}}|{{Team/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}|&nbsp;}}}}}}</div></div>
 
{{{R1G1details}}}</div>}}
 
 
<div class="bracket-cell-r1" style="{{#if:{{{R1D2win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R1D2win|}}}|font-weight:bold}}">
<div class="bracket-player-bottom" style="{{#if:{{{R1D2race|}}}|background:{{RaceColor|{{{R1D2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D2flag|}}}|{{FlagNoLink/{{lc:{{{R1D2flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D2|R1D2}}}</span><div class="bracket-score" style="width:21px">{{{R1D2score|}}}</div></div></div>
+
<div class="bracket-team-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D2team|}}}|{{{R1D2team}}}|}}
</div>
+
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D2score|}}}</div></div></div>
 +
  </div>
 
   <div class="bracket-column" style="width:20px">
 
   <div class="bracket-column" style="width:20px">
 
<div style="float:left;width:9px">
 
<div style="float:left;width:9px">
Line 26: Line 23:
 
</div>
 
</div>
 
   </div>
 
   </div>
   <div class="bracket-column" style="width:{{{column-width|150}}}px">
+
   <div class="bracket-column" style="width:{{{column-width|170}}}px">
 
<div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R2|Finals}}}</div>}}</div>
 
<div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R2|Finals}}}</div>}}</div>
 +
<div class="bracket-cell-r1" style="{{#if:{{{R2D1win|}}}|font-weight:bold}}">
 +
<div class="bracket-team-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D1team|}}}|{{{R2D1team}}}|}}
 +
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D1score|}}}</div></div></div>
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
<div class="bracket-player-top" style="{{#if:{{{R2W1race|}}}|background:{{RaceColor|{{{R2W1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R2W1flag|}}}|{{FlagNoLink/{{lc:{{{R2W1flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R2W1|R2W1}}}</span><div class="bracket-score" style="width:21px">{{{R2W1score|}}}</div></div></div>
+
<div class="bracket-team-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W1team|}}}|{{{R2W1team}}}|}}
{{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
+
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W1score|}}}</div></div></div>
<div class="header">
+
  </div>
<div class="left">{{#if:{{{R2D1team|}}}|{{Team2/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|<span style="vertical-align:-1px;">{{{R2D1}}}</span>{{Team2/tf}}|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}</div>
 
<div class="right">{{#if:{{{R2W1team|}}}|{{Team/{{{R2W1team}}}}}|{{#if:{{{R2W1|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R2W1}}}</span>|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}|&nbsp;}}}}}}</div></div>
 
{{{R2G1details}}}</div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
 
<div class="bracket-player-bottom" style="{{#if:{{{R2W1race|}}}|background:{{RaceColor|{{{R2W1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R2W1flag|}}}|{{FlagNoLink/{{lc:{{{R2W1flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R2W1|R2W1}}}</span><div class="bracket-score" style="width:21px">{{{R2W1score|}}}</div></div></div>
 
</div>
 
 
<div style="clear:left"> </div></div>
 
<div style="clear:left"> </div></div>
 
</div>
 
</div>

Revision as of 21:34, 9 July 2015

Round 1
Finals

This template was created on Liquipedia.

{{ETF2L bracket (short)
 | R1D1team={{flag|}} | R1D1score= | R1D1win=
 | R1D2team={{flag|}} | R1D2score= | R1D2win=
 | R2D1team={{flag|}} | R2D1score= | R2D1win=
 | R2W1team={{flag|}} | R2W1score= | R2W1win=
}}