Difference between revisions of "Template:6SEBracket"

From QWiki
m
m (Applying fix for wider popups)
 
Line 5: Line 5:
 
<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|}}}|{{FlagNoLink/{{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-popup-wrapper bracket-popup-player" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
+
{{#if:{{{R1G1details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
 
{{BracketMatchPlayers|{{{R1D1|TBD}}}|{{{R1D1flag|}}}|{{{R1D2|TBD}}}|{{{R1D2flag|}}}}} {{{R1G1details}}}</div></div>}}
 
{{BracketMatchPlayers|{{{R1D1|TBD}}}|{{{R1D1flag|}}}|{{{R1D2|TBD}}}|{{{R1D2flag|}}}}} {{{R1G1details}}}</div></div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R1D2win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R1D2win|}}}|font-weight:bold}}">
Line 13: Line 13:
 
<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|}}}|{{FlagNoLink/{{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-popup-wrapper bracket-popup-player" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
+
{{#if:{{{R1G2details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
 
{{BracketMatchPlayers|{{{R1D3|TBD}}}|{{{R1D3flag|}}}|{{{R1D4|TBD}}}|{{{R1D4flag|}}}}} {{{R1G2details}}}</div></div>}}
 
{{BracketMatchPlayers|{{{R1D3|TBD}}}|{{{R1D3flag|}}}|{{{R1D4|TBD}}}|{{{R1D4flag|}}}}} {{{R1G2details}}}</div></div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R1D4win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R1D4win|}}}|font-weight:bold}}">
Line 47: Line 47:
 
<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|}}}|{{FlagNoLink/{{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-popup-wrapper bracket-popup-player" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
+
{{#if:{{{R2G1details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
 
{{BracketMatchPlayers|{{{R2D1|TBD}}}|{{{R2D1flag|}}}|{{{R2W1|TBD}}}|{{{R2W1flag|}}}}} {{{R2G1details}}}</div></div>}}
 
{{BracketMatchPlayers|{{{R2D1|TBD}}}|{{{R2D1flag|}}}|{{{R2W1|TBD}}}|{{{R2W1flag|}}}}} {{{R2G1details}}}</div></div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
Line 55: Line 55:
 
<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|}}}|{{FlagNoLink/{{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-popup-wrapper bracket-popup-player" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
+
{{#if:{{{R2G2details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
 
{{BracketMatchPlayers|{{{R2D2|TBD}}}|{{{R2D2flag|}}}|{{{R2W2|TBD}}}|{{{R2W2flag|}}}|}} {{{R2G2details}}}</div></div>}}
 
{{BracketMatchPlayers|{{{R2D2|TBD}}}|{{{R2D2flag|}}}|{{{R2W2|TBD}}}|{{{R2W2flag|}}}|}} {{{R2G2details}}}</div></div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}">
Line 82: Line 82:
 
<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|}}}|{{FlagNoLink/{{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-popup-wrapper bracket-popup-player" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
+
{{#if:{{{R3G1details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
 
{{BracketMatchPlayers|{{{R3W1|TBD}}}|{{{R3W1flag|}}}|{{{R3W2|TBD}}}|{{{R3W2flag|}}}}} {{{R3G1details}}}</div></div>}}
 
{{BracketMatchPlayers|{{{R3W1|TBD}}}|{{{R3W1flag|}}}|{{{R3W2|TBD}}}|{{{R3W2flag|}}}}} {{{R3G1details}}}</div></div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R3W2win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R3W2win|}}}|font-weight:bold}}">
Line 92: Line 92:
 
<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|}}}|{{FlagNoLink/{{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-popup-wrapper bracket-popup-player" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
+
{{#if:{{{R3G2details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
 
{{BracketMatchPlayers|{{{R3D1|TBD}}}|{{{R3D1flag|}}}|{{{R3D2|TBD}}}|{{{R3D2flag|}}}}} {{{R3G2details}}}</div></div>}}
 
{{BracketMatchPlayers|{{{R3D1|TBD}}}|{{{R3D1flag|}}}|{{{R3D2|TBD}}}|{{{R3D2flag|}}}}} {{{R3G2details}}}</div></div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R3D2win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R3D2win|}}}|font-weight:bold}}">

Latest revision as of 22:17, 2 March 2021

Documentation (view - edit)

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)
  • If a map went to overtime, use |mapXot=. The value equals the number of consecutive OT's on this map.
  • Walkover: set race to wo, i.e |R1D3race=wo. Can also be set to red, green, blue, yellow and white - please avoid this if you can.

Copy/Paste

==Playoffs==
{{6SEBracket
|column-width=200
|R1D1= |R1D1flag= |R1D1score= |R1D1win=
|R1D2= |R1D2flag= |R1D2score= |R1D2win=
|R1G1details={{BracketMatchSummary
|date=
|finished=
|stream=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags= 
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}
|R1D3= |R1D3flag= |R1D3score= |R1D3win=
|R1D4= |R1D4flag= |R1D4score= |R1D4win=
|R1G2details={{BracketMatchSummary
|date=
|finished=
|stream=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags= 
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}
|R2D1= |R2D1flag= |R2D1score= |R2D1win=
|R2W1= |R2W1flag= |R2W1score= |R2W1win=
|R2G1details={{BracketMatchSummary
|date=
|finished=
|stream=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags= 
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}
|R2D2= |R2D2flag= |R2D2score= |R2D2win=
|R2W2= |R2W2flag= |R2W2score= |R2W2win=
|R2G2details={{BracketMatchSummary
|date=
|finished=
|stream=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags= 
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}
|R3W1= |R3W1flag= |R3W1score= |R3W1win=
|R3W2= |R3W2flag= |R3W2score= |R3W2win=
|R3G1details={{BracketMatchSummary
|date=
|finished=
|stream=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags= 
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}

<!-- 3RD PLACE (optional) -->
|R3D1= |R3D1flag= |R3D1score= |R3D1win=
|R3D2= |R3D2flag= |R3D2score= |R3D2win=
|R3G2details={{BracketMatchSummary
|date=
|finished=
|stream=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags=
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}
}}


Adapted from Liquipedia