Difference between revisions of "Template:4DEBracket"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
<div class="bracket-game"> | <div class="bracket-game"> | ||
<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:{{{R1D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D1team|}}}|{{TeamBracket/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|{{{R1D1}}}|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}| }}}}}} | + | <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> | <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;"> | {{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
Line 14: | Line 14: | ||
{{{R1G1details}}}</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="{{#if:{{{R1D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D2team|}}}|{{TeamBracket/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{{R1D2}}}|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}| }}}}}} | + | <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 class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D2score|}}}</div></div></div> | ||
</div> | </div> | ||
Line 20: | Line 20: | ||
<div class="bracket-game"> | <div class="bracket-game"> | ||
<div class="bracket-cell-r1" style="{{#if:{{{R1D3win|}}}|font-weight:bold}}"> | <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|}}}|{{{R1D3}}}|{{#if:{{{R1D3literal|}}}|{{{R1D3literal}}}| }}}}}} | + | <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> | <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;"> | {{#if:{{{R1G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
Line 28: | Line 28: | ||
{{{R1G2details}}}</div>}} | {{{R1G2details}}}</div>}} | ||
<div class="bracket-cell-r1" style="{{#if:{{{R1D4win|}}}|font-weight:bold}}"> | <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|}}}|{{{R1D4}}}|{{#if:{{{R1D4literal|}}}|{{{R1D4literal}}}| }}}}}} | + | <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 class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D4score|}}}</div></div></div> | ||
</div> | </div> | ||
Line 53: | Line 53: | ||
<div class="bracket-game"> | <div class="bracket-game"> | ||
<div class="bracket-cell-r2" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}"> | <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|}}}|{{{R2W1}}}|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}| }}}}}} | + | <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> | <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;"> | {{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
Line 61: | Line 61: | ||
{{{R2G1details}}}</div>}} | {{{R2G1details}}}</div>}} | ||
<div class="bracket-cell-r2" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}"> | <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|}}}|{{{R2W2}}}|{{#if:{{{R2W2literal|}}}|{{{R2W2literal}}}| }}}}}} | + | <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 class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W2score|}}}</div></div></div> | ||
</div> | </div> | ||
Line 69: | Line 69: | ||
<div class="bracket-game"> | <div class="bracket-game"> | ||
<div class="bracket-cell-r1" style="{{#if:{{{R1D5win|}}}|font-weight:bold}}"> | <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|}}}|{{{R1D5}}}|{{#if:{{{R1D5literal|}}}|{{{R1D5literal}}}| }}}}}} | + | <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> | <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;"> | {{#if:{{{R1G3details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
Line 77: | Line 77: | ||
{{{R1G3details}}}</div>}} | {{{R1G3details}}}</div>}} | ||
<div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}"> | <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|}}}|{{{R1D6}}}|{{#if:{{{R1D6literal|}}}|{{{R1D6literal}}}| }}}}}} | + | <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 class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D6score|}}}</div></div></div> | ||
</div> | </div> | ||
Line 97: | Line 97: | ||
<div class="bracket-game"> | <div class="bracket-game"> | ||
<div class="bracket-cell-r1" style="{{#if:{{{R2D1win|}}}|font-weight:bold}}"> | <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|}}}|{{{R2D1}}}|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}| }}}}}} | + | <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> | <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;"> | {{#if:{{{R2G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
<div class="header"> | <div class="header"> | ||
− | <div class="left">{{#if:{{{R2D1team|}}}|{{Team2/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|<span style="vertical-align:-1px;">{{{R2D1}}}</span>{{Team2/tf}}|{{#if:{{{R2D1literal|}}}|{{{ | + | <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|}}}|{{{ | + | <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>}} | {{{R2G2details}}}</div>}} | ||
<div class="bracket-cell-r1" style="{{#if:{{{R2W3win|}}}|font-weight:bold}}"> | <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|}}}|{{{R2W3}}}|{{#if:{{{R2W3literal|}}}|{{{R2W3literal}}}| }}}}}} | + | <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 class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W3score|}}}</div></div></div> | ||
</div> | </div> | ||
Line 130: | Line 130: | ||
<div class="bracket-game"> | <div class="bracket-game"> | ||
<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-top" style="{{#if:{{{R3W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3W1team|}}}|{{TeamBracket/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|{{{R3W1}}}|{{#if:{{{R3W1literal|}}}|{{{R3W1literal}}}| }}}}}} | + | <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><!-- | <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:{{{R3W1score2|}}}{{{R3W1score3|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px;{{#if:{{{R3W1score3|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W1score2|}}}</div>}}<!-- | ||
Line 140: | Line 140: | ||
{{{R3G1details}}}</div>}} | {{{R3G1details}}}</div>}} | ||
<div class="bracket-cell-r1" style="{{#if:{{{R3W2win|}}}|font-weight:bold}}"> | <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|}}}|{{{R3W2}}}|{{#if:{{{R3W2literal|}}}|{{{R3W2literal}}}| }}}}}} | + | <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><!-- | <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:{{{R3W2score2|}}}{{{R3W2score3|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px;{{#if:{{{R3W2score3|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W2score2|}}}</div>}}<!-- |
Revision as of 16:57, 11 October 2014
Semifinals
Winner's Finals
Loser's Round 1
Loser's Finals
Grand Finals