Difference between revisions of "Template:4DEBracket"
Jump to navigation
Jump to search
Muriloricci (talk | contribs) m |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><div class="bracket-wrapper"><div style="width:{{#expr:{{{column-width|170}}}*3+45{{#if:{{{R3W1score2|}}}|+{{{score-width|21}}}}}{{#if:{{{R3W1score3|}}}|+{{{score-width|21}}}}}}}px" class="bracket"> |
− | <div class="bracket-wrapper"><div style="width:{{#expr:{{{column-width|170}}}*3+45{{#if:{{{R3W1score2|}}}|+{{{score-width|21}}}}}}}px" class="bracket"> | ||
<div style="width:{{#expr:{{{column-width|170}}}*2+20}}px;float:left"> <!-- DE section --> | <div style="width:{{#expr:{{{column-width|170}}}*2+20}}px;float:left"> <!-- DE section --> | ||
− | + | <div class="bracket-column" style="width:{{{column-width|170}}}px"> | |
− | + | <div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R1|Semifinals}}}</div>}}</div> | |
− | + | ||
− | + | <div class="bracket-game"> | |
− | + | <div class="bracket-cell-r1" style="{{#if:{{{R1D1win|}}}|font-weight:bold}}"> | |
− | + | <div class="bracket-team-top" style="{{#if:{{{R1D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D1team|}}}|{{TeamBracket/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D1}}}</span>|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}| }}}}}} | |
− | + | <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=" | + | <div class="header"> |
− | + | <div class="left">{{#if:{{{R1D1team|}}}|{{Team2/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|<span style="vertical-align:-1px;">{{{R1D1}}}</span>{{Team2/tf}}|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}| }}}}}}</div> | |
− | + | <div class="right">{{#if:{{{R1D2team|}}}|{{Team/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}| }}}}}}</div></div> | |
− | + | {{{R1G1details}}}</div>}} | |
− | + | <div class="bracket-cell-r1" style="{{#if:{{{R1D2win|}}}|font-weight:bold}}"> | |
− | + | <div class="bracket-team-bottom" style="{{#if:{{{R1D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D2team|}}}|{{TeamBracket/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}| }}}}}} | |
− | + | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D2score|}}}</div></div></div> | |
− | + | </div> | |
− | + | ||
− | + | <div class="bracket-game"> | |
+ | <div class="bracket-cell-r1" style="{{#if:{{{R1D3win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-top" style="{{#if:{{{R1D3literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D3team|}}}|{{TeamBracket/{{{R1D3team}}}}}|{{#if:{{{R1D3|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D3}}}</span>|{{#if:{{{R1D3literal|}}}|{{{R1D3literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D3score|}}}</div></div></div> | ||
+ | {{#if:{{{R1G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
+ | <div class="header"> | ||
+ | <div class="left">{{#if:{{{R1D3team|}}}|{{Team2/{{{R1D3team}}}}}|{{#if:{{{R1D3|}}}|<span style="vertical-align:-1px;">{{{R1D3}}}</span>{{Team2/tf}}|{{#if:{{{R1D3literal|}}}|{{{R1D3literal}}}| }}}}}}</div> | ||
+ | <div class="right">{{#if:{{{R1D4team|}}}|{{Team/{{{R1D4team}}}}}|{{#if:{{{R1D4|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R1D4}}}</span>|{{#if:{{{R1D4literal|}}}|{{{R1D4literal}}}| }}}}}}</div></div> | ||
+ | {{{R1G2details}}}</div>}} | ||
+ | <div class="bracket-cell-r1" style="{{#if:{{{R1D4win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-bottom" style="{{#if:{{{R1D4literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D4team|}}}|{{TeamBracket/{{{R1D4team}}}}}|{{#if:{{{R1D4|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D4}}}</span>|{{#if:{{{R1D4literal|}}}|{{{R1D4literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D4score|}}}</div></div></div> | ||
</div> | </div> | ||
− | + | </div> | |
+ | |||
+ | <div class="bracket-column" style="width:20px"> | ||
<div style="float:left;width:9px"> | <div style="float:left;width:9px"> | ||
<div style="width:9px;height:75px"> </div> | <div style="width:9px;height:75px"> </div> | ||
Line 36: | Line 48: | ||
<div style="width:9px;height:51px;"> </div> | <div style="width:9px;height:51px;"> </div> | ||
</div> | </div> | ||
+ | </div> | ||
+ | <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|Winner's Finals}}}</div>}}</div> | ||
+ | <div class="bracket-game"> | ||
+ | <div class="bracket-cell-r2" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-top" style="{{#if:{{{R2W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W1team|}}}|{{TeamBracket/{{{R2W1team}}}}}|{{#if:{{{R2W1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W1}}}</span>|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W1score|}}}</div></div></div> | ||
+ | {{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
+ | <div class="header"> | ||
+ | <div class="left">{{#if:{{{R2W1team|}}}|{{Team2/{{{R2W1team}}}}}|{{#if:{{{R2W1|}}}|<span style="vertical-align:-1px;">{{{R2W1}}}</span>{{Team2/tf}}|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}| }}}}}}</div> | ||
+ | <div class="right">{{#if:{{{R2W2team|}}}|{{Team/{{{R2W2team}}}}}|{{#if:{{{R2W2|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R2W2}}}</span>|{{#if:{{{R2W2literal|}}}|{{{R2W2literal}}}| }}}}}}</div></div> | ||
+ | {{{R2G1details}}}</div>}} | ||
+ | <div class="bracket-cell-r2" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-bottom" style="{{#if:{{{R2W2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W2team|}}}|{{TeamBracket/{{{R2W2team}}}}}|{{#if:{{{R2W2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W2}}}</span>|{{#if:{{{R2W2literal|}}}|{{{R2W2literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W2score|}}}</div></div></div> | ||
</div> | </div> | ||
− | + | </div> | |
− | <div style="height: | + | <div class="bracket-column" style="width:{{{column-width|170}}}px"> |
+ | <div style="height:64px;margin-top:16px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{L1|Loser's Round 1}}}</div>}}</div> | ||
<div class="bracket-game"> | <div class="bracket-game"> | ||
− | + | <div class="bracket-cell-r1" style="{{#if:{{{R1D5win|}}}|font-weight:bold}}"> | |
− | + | <div class="bracket-team-top" style="{{#if:{{{R1D5literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D5team|}}}|{{TeamBracket/{{{R1D5team}}}}}|{{#if:{{{R1D5|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D5}}}</span>|{{#if:{{{R1D5literal|}}}|{{{R1D5literal}}}| }}}}}} | |
− | + | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D5score|}}}</div></div></div> | |
− | + | {{#if:{{{R1G3details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | |
− | + | <div class="header"> | |
− | + | <div class="left">{{#if:{{{R1D5team|}}}|{{Team2/{{{R1D5team}}}}}|{{#if:{{{R1D5|}}}|<span style="vertical-align:-1px;">{{{R1D5}}}</span>{{Team2/tf}}|{{#if:{{{R1D5literal|}}}|{{{R1D5literal}}}| }}}}}}</div> | |
− | + | <div class="right">{{#if:{{{R1D6team|}}}|{{Team/{{{R1D6team}}}}}|{{#if:{{{R1D6|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R1D6}}}</span>|{{#if:{{{R1D6literal|}}}|{{{R1D6literal}}}| }}}}}}</div></div> | |
+ | {{{R1G3details}}}</div>}} | ||
+ | <div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-bottom" style="{{#if:{{{R1D6literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D6team|}}}|{{TeamBracket/{{{R1D6team}}}}}|{{#if:{{{R1D6|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D6}}}</span>|{{#if:{{{R1D6literal|}}}|{{{R1D6literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D6score|}}}</div></div></div> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | + | <div class="bracket-column" style="width:20px"> | |
<div style="float:left;width:9px"> | <div style="float:left;width:9px"> | ||
<div style="width:9px;height:115px;border-bottom:solid #aaa 2px"> </div> | <div style="width:9px;height:115px;border-bottom:solid #aaa 2px"> </div> | ||
Line 70: | Line 92: | ||
<div style="width:9px;height:23px;"> </div> | <div style="width:9px;height:23px;"> </div> | ||
</div> | </div> | ||
+ | </div> | ||
+ | <div class="bracket-column" style="width:{{{column-width|170}}}px"> | ||
+ | <div style="height:52px;margin-top:16px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{L2|Loser's Finals}}}</div>}}</div> | ||
+ | <div class="bracket-game"> | ||
+ | <div class="bracket-cell-r1" style="{{#if:{{{R2D1win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-top" style="{{#if:{{{R2D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D1team|}}}|{{TeamBracket/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2D1}}}</span>|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D1score|}}}</div></div></div> | ||
+ | {{#if:{{{R2G2details|}}}|<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}}}| }}}}}}</div> | ||
+ | <div class="right">{{#if:{{{R2W3team|}}}|{{Team/{{{R2W3team}}}}}|{{#if:{{{R2W4|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R2W3}}}</span>|{{#if:{{{R2W3literal|}}}|{{{R2W3literal}}}| }}}}}}</div></div> | ||
+ | {{{R2G2details}}}</div>}} | ||
+ | <div class="bracket-cell-r1" style="{{#if:{{{R2W3win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-bottom" style="{{#if:{{{R2W3literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W3team|}}}|{{TeamBracket/{{{R2W3team}}}}}|{{#if:{{{R2W3|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W3}}}</span>|{{#if:{{{R2W3literal|}}}|{{{R2W3literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W3score|}}}</div></div></div> | ||
</div> | </div> | ||
− | + | </div> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> <!-- DE section end --> | </div> <!-- DE section end --> | ||
− | + | <div class="bracket-column" style="width:20px"> | |
<div style="float:left;width:9px"> | <div style="float:left;width:9px"> | ||
<div style="width:9px;height:111px"> </div> | <div style="width:9px;height:111px"> </div> | ||
Line 98: | Line 125: | ||
<div style="width:9px;height:0px;"> </div> | <div style="width:9px;height:0px;"> </div> | ||
</div> | </div> | ||
+ | </div> | ||
+ | <div class="bracket-column" style="width:{{#expr:{{{column-width|170}}}{{#if:{{{R3W1score2|}}}|+{{{score-width|21}}}}}{{#if:{{{R3W1score3|}}}|+{{{score-width|21}}}}}}}px"> | ||
+ | <div style="height:164px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R3|Grand Finals}}}</div>}}</div> | ||
+ | <div class="bracket-game"> | ||
+ | <div class="bracket-cell-r1" style="{{#if:{{{R3W1win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-top" style="{{#if:{{{R3W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3W1team|}}}|{{TeamBracket/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3W1}}}</span>|{{#if:{{{R3W1literal|}}}|{{{R3W1literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px;{{#if:{{{R3W1score3|}}}|right:{{#expr:2*{{{score-width|21}}}+2}}px|{{#if:{{{R3W1score2|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}}}">{{{R3W1score|}}}</div><!-- | ||
+ | -->{{#if:{{{R3W1score2|}}}{{{R3W1score3|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px;{{#if:{{{R3W1score3|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W1score2|}}}</div>}}<!-- | ||
+ | -->{{#if:{{{R3W1score3|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W1score3|}}}</div>}}</div></div> | ||
+ | {{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
+ | <div class="header"> | ||
+ | <div class="left">{{#if:{{{R3W1team|}}}|{{Team2/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|<span style="vertical-align:-1px;">{{{R3W1}}}</span>{{Team2/tf}}|{{#if:{{{R3W1literal|}}}|{{{R3W1literal}}}| }}}}}}</div> | ||
+ | <div class="right">{{#if:{{{R3W2team|}}}|{{Team/{{{R3W2team}}}}}|{{#if:{{{R3W2|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R3W2}}}</span>|{{#if:{{{R3W2literal|}}}|{{{R3W2literal}}}| }}}}}}</div></div> | ||
+ | {{{R3G1details}}}</div>}} | ||
+ | <div class="bracket-cell-r1" style="{{#if:{{{R3W2win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-bottom" style="{{#if:{{{R3W2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3W2team|}}}|{{TeamBracket/{{{R3W2team}}}}}|{{#if:{{{R3W2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3W2}}}</span>|{{#if:{{{R3W2literal|}}}|{{{R3W2literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px;{{#if:{{{R3W2score3|}}}|right:{{#expr:2*{{{score-width|21}}}+2}}px|{{#if:{{{R3W2score2|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}}}">{{{R3W2score|}}}</div><!-- | ||
+ | -->{{#if:{{{R3W2score2|}}}{{{R3W2score3|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px;{{#if:{{{R3W2score3|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W2score2|}}}</div>}}<!-- | ||
+ | -->{{#if:{{{R3W2score3|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W2score3|}}}</div>}}</div></div> | ||
</div> | </div> | ||
− | + | </div> | |
− | + | <div style="clear:left"> </div></div><div class="bracket-push"></div></div></includeonly><noinclude>{{4DEBracket}}[[Category:Team Brackets]][[Category:Source Liquipedia]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <div style="clear:left"> </div></div><div class="bracket-push"></div></div | ||
− | |||
− | |||
− | [[Category:Brackets]] |
Latest revision as of 15:01, 23 March 2016
Semifinals
Winner's Finals
Loser's Round 1
Loser's Finals
Grand Finals