Difference between revisions of "Template:6SEBracket"

From comp.tf
Jump to navigation Jump to search
(Created page with "<includeonly><div class="bracket-wrapper"><div style="width:{{#expr:{{{column-width|150}}}*3+65}}px" class="bracket"> <div class="bracket-column" style="width:{{{column-width...")
 
m (FlagNoLink -> Flag)
Line 4: Line 4:
 
<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|}}}|{{FlagNoLink/{{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="{{#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>
 
{{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{BracketMatchPlayers|{{{R1D1|TBD}}}|{{{R1D1race|}}}|{{{R1D2|TBD}}}|{{{R1D2race|}}}}} {{{R1G1details}}}</div>}}
 
{{BracketMatchPlayers|{{{R1D1|TBD}}}|{{{R1D1race|}}}|{{{R1D2|TBD}}}|{{{R1D2race|}}}}} {{{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="{{#if:{{{R1D2race|}}}|background:{{RaceColor|{{{R1D2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D2flag|}}}|{{FlagNoLink/{{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-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>
 
</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="{{#if:{{{R1D3race|}}}|background:{{RaceColor|{{{R1D3race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D3flag|}}}|{{FlagNoLink/{{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-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>
 
{{#if:{{{R1G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{#if:{{{R1G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{BracketMatchPlayers|{{{R1D3|TBD}}}|{{{R1D3race|}}}|{{{R1D4|TBD}}}|{{{R1D4race|}}}}} {{{R1G2details}}}</div>}}
 
{{BracketMatchPlayers|{{{R1D3|TBD}}}|{{{R1D3race|}}}|{{{R1D4|TBD}}}|{{{R1D4race|}}}}} {{{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="{{#if:{{{R1D4race|}}}|background:{{RaceColor|{{{R1D4race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D4flag|}}}|{{FlagNoLink/{{lc:{{{R1D4flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D4|R1D4}}}</span><div class="bracket-score" style="width:21px">{{{R1D4score|}}}</div></div></div>
+
<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>
 
</div>
 
</div>
 
</div>
Line 46: Line 46:
 
<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|}}}|{{FlagNoLink/{{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="{{#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>
 
{{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{BracketMatchPlayers|{{{R2D1|TBD}}}|{{{R2D1race|}}}|{{{R2W1|TBD}}}|{{{R2W1race|}}}}} {{{R2G1details}}}</div>}}
 
{{BracketMatchPlayers|{{{R2D1|TBD}}}|{{{R2D1race|}}}|{{{R2W1|TBD}}}|{{{R2W1race|}}}}} {{{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-player-bottom" style="{{#if:{{{R2W1race|}}}|background:{{RaceColor|{{{R2W1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R2W1flag|}}}|{{FlagNoLink/{{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-bottom" 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>
 
</div>
 
<div class="bracket-game">
 
<div class="bracket-game">
 
<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-top" style="{{#if:{{{R2D2race|}}}|background:{{RaceColor|{{{R2D2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R2D2flag|}}}|{{FlagNoLink/{{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-top" 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>
 
{{#if:{{{R2G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{#if:{{{R2G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{BracketMatchPlayers|{{{R2D2|TBD}}}|{{{R2D2race|}}}|{{{R2W2|TBD}}}|{{{R2W2race|}}}|}} {{{R2G2details}}}</div>}}
 
{{BracketMatchPlayers|{{{R2D2|TBD}}}|{{{R2D2race|}}}|{{{R2W2|TBD}}}|{{{R2W2race|}}}|}} {{{R2G2details}}}</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|}}}|{{FlagNoLink/{{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="{{#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>
 
</div>
 
</div>
 
</div>
Line 81: Line 81:
 
<div class="bracket-game">
 
<div class="bracket-game">
 
<div class="bracket-cell-r2" style="{{#if:{{{R3W1win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r2" style="{{#if:{{{R3W1win|}}}|font-weight:bold}}">
<div class="bracket-player-top" style="{{#if:{{{R3W1race|}}}|background:{{RaceColor|{{{R3W1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R3W1flag|}}}|{{FlagNoLink/{{lc:{{{R3W1flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R3W1|R3W1}}}</span><div class="bracket-score" style="width:21px">{{{R3W1score|}}}</div></div></div>
+
<div class="bracket-player-top" style="{{#if:{{{R3W1race|}}}|background:{{RaceColor|{{{R3W1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R3W1flag|}}}|{{Flag/{{lc:{{{R3W1flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R3W1|R3W1}}}</span><div class="bracket-score" style="width:21px">{{{R3W1score|}}}</div></div></div>
 
{{#if:{{{R3G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{#if:{{{R3G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{BracketMatchPlayers|{{{R3W1|TBD}}}|{{{R3W1race|}}}|{{{R3W2|TBD}}}|{{{R3W2race|}}}}} {{{R3G1details}}}</div>}}
 
{{BracketMatchPlayers|{{{R3W1|TBD}}}|{{{R3W1race|}}}|{{{R3W2|TBD}}}|{{{R3W2race|}}}}} {{{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-player-bottom" style="{{#if:{{{R3W2race|}}}|background:{{RaceColor|{{{R3W2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R3W2flag|}}}|{{FlagNoLink/{{lc:{{{R3W2flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R3W2|R3W2}}}</span><div class="bracket-score" style="width:21px">{{{R3W2score|}}}</div></div></div>
+
<div class="bracket-player-bottom" style="{{#if:{{{R3W2race|}}}|background:{{RaceColor|{{{R3W2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R3W2flag|}}}|{{Flag/{{lc:{{{R3W2flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R3W2|R3W2}}}</span><div class="bracket-score" style="width:21px">{{{R3W2score|}}}</div></div></div>
 
</div>
 
</div>
 
{{#if:{{{R3D1|}}}{{{R3D2|}}}|
 
{{#if:{{{R3D1|}}}{{{R3D2|}}}|
Line 91: Line 91:
 
<div class="bracket-game">
 
<div class="bracket-game">
 
<div class="bracket-cell-r1" style="{{#if:{{{R3D1win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R3D1win|}}}|font-weight:bold}}">
<div class="bracket-player-top" style="{{#if:{{{R3D1race|}}}|background:{{RaceColor|{{{R3D1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R3D1flag|}}}|{{FlagNoLink/{{lc:{{{R3D1flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R3D1|R3D1}}}</span><div class="bracket-score" style="width:21px">{{{R3D1score|}}}</div></div></div>
+
<div class="bracket-player-top" style="{{#if:{{{R3D1race|}}}|background:{{RaceColor|{{{R3D1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R3D1flag|}}}|{{Flag/{{lc:{{{R3D1flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R3D1|R3D1}}}</span><div class="bracket-score" style="width:21px">{{{R3D1score|}}}</div></div></div>
 
{{#if:{{{R3G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{#if:{{{R3G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
 
{{BracketMatchPlayers|{{{R3D1|TBD}}}|{{{R3D1race|}}}|{{{R3D2|TBD}}}|{{{R3D2race|}}}}} {{{R3G2details}}}</div>}}
 
{{BracketMatchPlayers|{{{R3D1|TBD}}}|{{{R3D1race|}}}|{{{R3D2|TBD}}}|{{{R3D2race|}}}}} {{{R3G2details}}}</div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R3D2win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R3D2win|}}}|font-weight:bold}}">
<div class="bracket-player-bottom" style="{{#if:{{{R3D2race|}}}|background:{{RaceColor|{{{R3D2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R3D2flag|}}}|{{FlagNoLink/{{lc:{{{R3D2flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R3D2|R3D2}}}</span><div class="bracket-score" style="width:21px">{{{R3D2score|}}}</div></div></div>
+
<div class="bracket-player-bottom" style="{{#if:{{{R3D2race|}}}|background:{{RaceColor|{{{R3D2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R3D2flag|}}}|{{Flag/{{lc:{{{R3D2flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R3D2|R3D2}}}</span><div class="bracket-score" style="width:21px">{{{R3D2score|}}}</div></div></div>
 
</div>
 
</div>
 
}}
 
}}

Revision as of 12:40, 18 July 2015

(view - edit) Documentation


Round 1
  R1D1
  R1D2
  R1D3
  R1D4
Round 2
  R2D1
  R2W1
  R2D2
  R2W2
Finals
  R3W1
  R3W2

Use

Format usually used in tournaments with a group stage with two groups. After the Round Robin, the 2nd and 3rd ranked teams or players face one-another (cross-group), after which the winner advances to play against a 1st ranked team or player. The winners of those meet in the Grand Finals

  • R1 starts with 4 seeds (R1D1-4) who play.
  • R2W1 and R2W2 are the advancing players, they are now up against the higher seeds who drop down into the bracket (R2D1 and R2D2).
  • The winners play each other in the finals (R3W1 vs R3W2)

Copy/Paste

{{6SEBracket

|R1D1= |R1D1race= |R1D1flag= |R1D1score= |R1D1win=
|R1D2= |R1D2race= |R1D2flag= |R1D2score= |R1D2win=
|R1D3= |R1D3race= |R1D3flag= |R1D3score= |R1D3win=
|R1D4= |R1D4race= |R1D4flag= |R1D4score= |R1D4win=
                             
|R2D1= |R2D1race= |R2D1flag= |R2D1score= |R2D1win=
|R2W1= |R2W1race= |R2W1flag= |R2W1score= |R2W1win=
|R2D2= |R2D2race= |R2D2flag= |R2D2score= |R2D2win=
|R2W2= |R2W2race= |R2W2flag= |R2W2score= |R2W2win=
                             
|R3W1= |R3W1race= |R3W1flag= |R3W1score= |R3W1win=
|R3W2= |R3W2race= |R3W2flag= |R3W2score= |R3W2win=

<!-- 3RD PLACE (optional) -->
|R3D1= |R3D1race= |R3D1flag= |R3D1score= |R3D1win=
|R3D2= |R3D2race= |R3D2flag= |R3D2score= |R3D2win=

}}

Credit to Liquipedia