Difference between revisions of "Template:ETF2L bracket"

From comp.tf
Jump to navigation Jump to search
m (→‎top: clean up)
 
Line 6: Line 6:
 
<div class="bracket-team-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D1team|}}}|{{{R1D1team}}}}}
 
<div class="bracket-team-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D1team|}}}|{{{R1D1team}}}}}
 
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D1score|}}}</div></div></div>
 
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D1score|}}}</div></div></div>
 +
{{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
 +
<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|}}}|{{Team1/{{{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-team-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D2team|}}}|{{{R1D2team}}}|}}
 
<div class="bracket-team-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D2team|}}}|{{{R1D2team}}}|}}
Line 28: Line 33:
 
<div class="bracket-team-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D1team|}}}|{{{R2D1team}}}|}}
 
<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-score" style="width:{{{score-width|21}}}px">{{{R2D1score|}}}</div></div></div>
 +
{{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
 +
<div class="header">
 +
<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|}}}|{{Team1/{{{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-cell-r1" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
 
<div class="bracket-team-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W1team|}}}|{{{R2W1team}}}|}}
 
<div class="bracket-team-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W1team|}}}|{{{R2W1team}}}|}}
Line 50: Line 60:
 
<div class="bracket-team-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3D1team|}}}|{{{R3D1team}}}|}}
 
<div class="bracket-team-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3D1team|}}}|{{{R3D1team}}}|}}
 
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3D1score|}}}</div></div></div>
 
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3D1score|}}}</div></div></div>
 +
{{#if:{{{R3G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
 +
<div class="header">
 +
<div class="left">{{#if:{{{R3D1team|}}}|{{Team2/{{{R3D1team}}}}}|{{#if:{{{R3D1|}}}|<span style="vertical-align:-1px;">{{{R3D1}}}</span>{{Team2/tf}}|{{#if:{{{R2D1literal|}}}|{{{R3D1literal}}}|&nbsp;}}}}}}</div>
 +
<div class="right">{{#if:{{{R3W1team|}}}|{{Team1/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R3W1}}}</span>|{{#if:{{{R2W1literal|}}}|{{{R3W1literal}}}|&nbsp;}}}}}}</div></div>
 +
{{{R2G1details}}}</div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R3W1win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R3W1win|}}}|font-weight:bold}}">
 
<div class="bracket-team-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3W1team|}}}|{{{R3W1team}}}|}}
 
<div class="bracket-team-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3W1team|}}}|{{{R3W1team}}}|}}
 
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W1score|}}}</div></div></div>
 
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W1score|}}}</div></div></div>
 
   </div>
 
   </div>
<div style="clear:left"> </div></div>
+
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></includeonly><noinclude>{{Documentation}}[[Category:Brackets]]<noinclude>
</div>
 
<noinclude>This template was created on [http://wiki.teamliquid.net/starcraft2/Template:4STeamBracket Liquipedia].
 
<noinclude> <nowiki>{{ETF2L bracket
 
| R1D1team={{flag|}} | R1D1score= | R1D1win=1
 
| R1D2team={{flag|}} | R1D2score= | R1D2win=1
 
| R2D1team={{flag|}} | R2D1score= | R2D1win=1
 
| R2W1team={{flag|}} | R2W1score= | R2W1win=1
 
| R3D1team={{flag|}} | R3D1score= | R3D1win=1
 
| R3W1team={{flag|}} | R3W1score= | R3W1win=1
 
}}</nowiki>
 
 
 
[[Category:Brackets]]<noinclude>
 
[[Category:Source Liquipedia]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:52, 2 December 2016

Round 1
Round 2
Finals

</includeonly>

(view - edit) Documentation

Template:ETF2L bracket/doc