Difference between revisions of "Template:4SEBracket"

From comp.tf
Jump to navigation Jump to search
Line 5: Line 5:
 
     <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-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R1D1team|R1D1}}}</span><div class="bracket-score" style="width:21px">{{{R1D1score|}}}</div></div></div>
+
<div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{#if:{{{R1D1team|}}}|{{TeamBracket/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R1D1}}}</span>|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}|&nbsp;}}}}}}</span><div class="bracket-score" style="width:21px">{{{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;">
 
<div class="header">
 
<div class="header">
Line 12: Line 12:
 
{{{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-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R1D2team|R1D2}}}</span><div class="bracket-score" style="width:21px">{{{R1D2score|}}}</div></div></div>
+
         <div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{#if:{{{R1D2team|}}}|{{TeamBracket/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}|&nbsp;}}}}}}</span><div class="bracket-score" style="width:21px">{{{R1D2score|}}}</div></div></div>
 
     </div>
 
     </div>
 
     <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-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R1D3team|R1D3}}}</span><div class="bracket-score" style="width:21px">{{{R1D3score|}}}</div></div></div>
+
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{#if:{{{R1D3team|}}}|{{TeamBracket/{{{R1D3team}}}}}|{{#if:{{{R1D3|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R1D3}}}</span>|{{#if:{{{R1D3literal|}}}|{{{R1D3literal}}}|&nbsp;}}}}}}</span><div class="bracket-score" style="width:21px">{{{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;">
 
<div class="header">
 
<div class="header">
Line 23: Line 23:
 
{{{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-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R1D4team|R1D4}}}</span><div class="bracket-score" style="width:21px">{{{R1D4score|}}}</div></div></div>
+
         <div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{#if:{{{R1D4team|}}}|{{TeamBracket/{{{R1D4team}}}}}|{{#if:{{{R1D4|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R1D4}}}</span>|{{#if:{{{R1D4literal|}}}|{{{R1D4literal}}}|&nbsp;}}}}}}</span><div class="bracket-score" style="width:21px">{{{R1D4score|}}}</div></div></div>
 
       </div>
 
       </div>
 
     </div>
 
     </div>
Line 46: Line 46:
 
<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-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R2W1team|R2W1}}}</span><div class="bracket-score" style="width:21px">{{{R2W1score|}}}</div></div></div>
+
<div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{#if:{{{R2W1team|}}}|{{TeamBracket/{{{R2W1team}}}}}|{{#if:{{{R2W1|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R2W1}}}</span>|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}|&nbsp;}}}}}}</span><div class="bracket-score" style="width:21px">{{{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;">
 
<div class="header">
 
<div class="header">
Line 53: Line 53:
 
{{{R2G1details}}}</div>}}
 
{{{R2G1details}}}</div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}">
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R2W2team|R2W2}}}</span><div class="bracket-score" style="width:21px">{{{R2W2score|}}}</div></div></div>
+
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{#if:{{{R2W2team|}}}|{{TeamBracket/{{{R2W2team}}}}}|{{#if:{{{R2W2|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R2W2}}}</span>|{{#if:{{{R2W2literal|}}}|{{{R2W2literal}}}|&nbsp;}}}}}}</span><div class="bracket-score" style="width:21px">{{{R2W2score|}}}</div></div></div>
 
</div>
 
</div>
 
{{#if:{{{R2D1team|}}}{{{R2D2team|}}}|
 
{{#if:{{{R2D1team|}}}{{{R2D2team|}}}|
Line 59: Line 59:
 
<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-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R2D1team|R2D1}}}</span><div class="bracket-score" style="width:21px">{{{R2D1score|}}}</div></div></div>
+
<div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{#if:{{{R2D1team|}}}|{{TeamBracket/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R2D1}}}</span>|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}</span><div class="bracket-score" style="width:21px">{{{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:{{{R2W3team|}}}|{{Team2/{{{R2W3team}}}}}|{{#if:{{{R2W3|}}}|<span style="vertical-align:-1px;">{{{R2W3}}}</span>{{Team2/dota}}|{{#if:{{{R2W3literal|}}}|{{{R2W3literal}}}|&nbsp;}}}}}}</div>
+
<div class="left">{{#if:{{{R2D1team|}}}|{{Team2/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|<span style="vertical-align:-1px;">{{{R2D1}}}</span>{{Team2/dota}}|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}</div>
<div class="right">{{#if:{{{R2W4team|}}}|{{Team/{{{R2W4team}}}}}|{{#if:{{{R2W4|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R2W4}}}</span>|{{#if:{{{R2W4literal|}}}|{{{R2W4literal}}}|&nbsp;}}}}}}</div></div>
+
<div class="right">{{#if:{{{R2D2team|}}}|{{Team/{{{R2D2team}}}}}|{{#if:{{{R2D2|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R2D2}}}</span>|{{#if:{{{R2D2literal|}}}|{{{R2D2literal}}}|&nbsp;}}}}}}</div></div>
 
{{{R2G2details}}}</div>}}
 
{{{R2G2details}}}</div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R2D2win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R2D2win|}}}|font-weight:bold}}">
         <div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R2D2team|R2D2}}}</span><div class="bracket-score" style="width:21px">{{{R2D2score|}}}</div></div></div>
+
         <div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{#if:{{{R2D2team|}}}|{{TeamBracket/{{{R2D2team}}}}}|{{#if:{{{R2D2|}}}|{{TeamBracket/dota}}<span style="vertical-align:-1px;">{{{R2D2}}}</span>|{{#if:{{{R2D2literal|}}}|{{{R2D2literal}}}|&nbsp;}}}}}}</span><div class="bracket-score" style="width:21px">{{{R2D2score|}}}</div></div></div>
 
</div>
 
</div>
 
}}
 
}}

Revision as of 01:12, 24 August 2014

Semifinals
 
 
 
 
Finals
 
 

Created on Liquipedia