Difference between revisions of "Template:4SEBracket"

From comp.tf
Jump to navigation Jump to search
(created template (copied from TL))
 
Line 1: Line 1:
 
<div style="width:{{#expr:{{{column-width|150}}}*2+25}}px" class="bracket">
 
<div style="width:{{#expr:{{{column-width|150}}}*2+25}}px" class="bracket">
<div class="bracket-column" style="width:{{{column-width|150}}}px">
+
  <div class="bracket-column" style="width:{{{column-width|150}}}px">
<div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R1|Semifinals}}}</div>}}</div>
+
    <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-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="{{#if:{{{R1D1race|}}}|background:{{RaceColor|{{{R1D1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D1flag|}}}|{{flag/{{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-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>
{{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
+
      <div class="bracket-cell-r1" style="{{#if:{{{R1D2win|}}}|font-weight:bold}}">
{{BracketMatchPlayers|{{{R1D1|TBD}}}|{{{R1D1race|}}}|{{{R1D2|TBD}}}|{{{R1D2race|}}}}} {{{R1G1details}}}</div>}}
+
        <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-cell-r1" style="{{#if:{{{R1D2win|}}}|font-weight:bold}}">
+
    </div>
<div class="bracket-player-bottom" style="{{#if:{{{R1D2race|}}}|background:{{RaceColor|{{{R1D2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D2flag|}}}|{{flag/{{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-game">
</div>
+
      <div class="bracket-cell-r1" style="{{#if:{{{R1D3win|}}}|font-weight:bold}}">
<div class="bracket-game">
+
        <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R1D3|R1D3}}}</span><div class="bracket-score" style="width:21px">{{{R1D3score|}}}</div></div></div>
<div class="bracket-cell-r1" style="{{#if:{{{R1D3win|}}}|font-weight:bold}}">
+
      <div class="bracket-cell-r1" style="{{#if:{{{R1D4win|}}}|font-weight:bold}}">
<div class="bracket-player-top" style="{{#if:{{{R1D3race|}}}|background:{{RaceColor|{{{R1D3race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D3flag|}}}|{{flag/{{lc:{{{R1D3flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D3|R1D3}}}</span><div class="bracket-score" style="width:21px">{{{R1D3score|}}}</div></div></div>
+
        <div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px"><span style="vertical-align:-1px;">{{{R1D4|R1D4}}}</span><div class="bracket-score" style="width:21px">{{{R1D4score|}}}</div></div></div>
{{#if:{{{R1G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
+
      </div>
{{BracketMatchPlayers|{{{R1D3|TBD}}}|{{{R1D3race|}}}|{{{R1D4|TBD}}}|{{{R1D4race|}}}}} {{{R1G2details}}}</div>}}
+
    </div>
<div class="bracket-cell-r1" style="{{#if:{{{R1D4win|}}}|font-weight:bold}}">
+
  <div class="bracket-column" style="width:20px">
<div class="bracket-player-bottom" style="{{#if:{{{R1D4race|}}}|background:{{RaceColor|{{{R1D4race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D4flag|}}}|{{flag/{{lc:{{{R1D4flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D4|R1D4}}}</span><div class="bracket-score" style="width:21px">{{{R1D4score|}}}</div></div></div>
+
    <div style="float:left;width:9px">
</div>
 
</div>
 
<div class="bracket-column" style="width:20px">
 
<div style="float:left;width:9px">
 
 
<div style="width:9px;height:75px"> </div>
 
<div style="width:9px;height:75px"> </div>
 
<div style="width:9px;height:16px;border-top-right-radius:3px;border:solid #aaa;border-width:2px 2px 0 0"> </div>
 
<div style="width:9px;height:16px;border-top-right-radius:3px;border:solid #aaa;border-width:2px 2px 0 0"> </div>
Line 39: Line 35:
 
<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="{{#if:{{{R2W1race|}}}|background:{{RaceColor|{{{R2W1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R2W1flag|}}}|{{flag/{{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-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>
{{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{BracketMatchPlayers|{{{R2W1|TBD}}}|{{{R2W1race|}}}|{{{R2W2|TBD}}}|{{{R2W2race|}}}}} {{{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="{{#if:{{{R2W2race|}}}|background:{{RaceColor|{{{R2W2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R2W2flag|}}}|{{flag/{{lc:{{{R2W2flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R2W2|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;">{{{R2W2team|R2W2}}}</span><div class="bracket-score" style="width:21px">{{{R2W2score|}}}</div></div></div>
</div>
+
</div>
{{#if:{{{R2D1|}}}{{{R2D2|}}}|
+
{{#if:{{{R2D1team|}}}{{{R2D2team|}}}|
<div style="text-align:center;margin-bottom:-14px;margin-top:6px">{{{L2|'''3rd Place Match'''}}}</div>
+
<div style="text-align:center;margin-bottom:-14px;margin-top:6px">{{{L2|'''3rd Place Match'''}}}</div>
<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="{{#if:{{{R2D1race|}}}|background:{{RaceColor|{{{R2D1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R2D1flag|}}}|{{flag/{{lc:{{{R2D1flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R2D1|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;">{{{R2D1team|R2D1}}}</span><div class="bracket-score" style="width:21px">{{{R2D1score|}}}</div></div></div>
{{#if:{{{R2G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{BracketMatchPlayers|{{{R2D1|TBD}}}|{{{R2D1race|}}}|{{{R2D2|TBD}}}|{{{R2D2race|}}}}} {{{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="{{#if:{{{R2D2race|}}}|background:{{RaceColor|{{{R2D2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R2D2flag|}}}|{{flag/{{lc:{{{R2D2flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R2D2|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;">{{{R2D2team|R2D2}}}</span><div class="bracket-score" style="width:21px">{{{R2D2score|}}}</div></div></div>
 
</div>
 
</div>
 
}}
 
}}

Revision as of 16:15, 13 September 2013

Semifinals
R1D1
R1D2
R1D3
R1D4
Finals
R2W1
R2W2

Created on Liquipedia