Difference between revisions of "Template:8SEBracket"

From QWiki
m
m
Line 110: Line 110:
 
<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|}}}|{{FlagNoLink/{{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|}}}|
 
<div style="text-align:center;margin-bottom:-14px;margin-top:31px">{{{L3|'''3rd Place Match'''}}}</div>
 
<div style="text-align:center;margin-bottom:-14px;margin-top:31px">{{{L3|'''3rd Place Match'''}}}</div>
 
<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|tbd}}}</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-player" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
 
                   {{BracketMatchPlayers|{{#if:{{{R3D1|}}}|{{{R3D1}}}|TBD}}|{{{R3D1flag|}}}|{{#if:{{{R3D2|}}}|{{{R3D2}}}|TBD}}|{{{R3D2flag|}}}}} {{{R3G2details}}}</div></div>}}
 
                   {{BracketMatchPlayers|{{#if:{{{R3D1|}}}|{{{R3D1}}}|TBD}}|{{{R3D1flag|}}}|{{#if:{{{R3D2|}}}|{{{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}}">
<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|tbd}}}</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|}}}|{{FlagNoLink/{{lc:{{{R3D2flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R3D2|R3D2}}}</span><div class="bracket-score" style="width:21px">{{{R3D2score|}}}</div></div></div>
 
         </div>
 
         </div>
 
}}
 
}}
 
   </div>
 
   </div>
 
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></div></includeonly><noinclude>{{documentation}} [[Category:Brackets]]</noinclude>
 
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></div></includeonly><noinclude>{{documentation}} [[Category:Brackets]]</noinclude>

Revision as of 19:58, 2 July 2020

Documentation (view - edit)

Quarterfinals
  R1D1
  R1D2
  R1D3
  R1D4
  R1D5
  R1D6
  R1D7
  R1D8
Semifinals
  R2W1
  R2W2
  R2W3
  R2W4
Finals
  R3W1
  R3W2

Use

Template for a single-elimination bracket with 8 starting players
  • Three rounds, with 8, 4 and 2 players respectively.
  • Variables are R1D1-8, R2W1-4, R3W1-2 for the players, with the addition of "race" and "score" for the races and scores.
  • 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.
  • 3rd place match variables are R3D1 and R3D2. If the 3rd place match is not played, nothing needs to be filled in those fields and the 3rd place match will not appear on the page.
  • To bold winners and winners' scores use:
|R1D1=Playername |R1D1score=2 |R1D1win=1
  • To customize the names of the Rounds (default: Quarterfinals, Semifinals, Finals) use:
|R1=
|R2=
|R3=
|L3=
  • To remove Round titles completely use:
|hideroundtitles=true
  • To customize column width or score width use:
|column-width=
|score-width=

Copy/Paste

{{8SEBracket
 <!-- QUARTERFINALS -->
|R1D1= |R1D1race= |R1D1flag= |R1D1score= |R1D1win=
|R1D2= |R1D2race= |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= |R1D3race= |R1D3flag= |R1D3score= |R1D3win=
|R1D4= |R1D4race= |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=
}}
|R1D5= |R1D5race= |R1D5flag= |R1D5score= |R1D5win=
|R1D6= |R1D6race= |R1D6flag= |R1D6score= |R1D6win=
|R1G3details={{BracketMatchSummary
|date=
|finished=
|stream=
|map1= |map1win= |map1p1frags= |map1p2frags= 
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags=
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}
|R1D7= |R1D7race= |R1D7flag= |R1D7score= |R1D7win=
|R1D8= |R1D8race= |R1D8flag= |R1D8score= |R1D8win=
|R1G4details={{BracketMatchSummary
|date=
|finished=
|stream=
|map1= |map1win= |map1p1frags= |map1p2frags= 
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags=
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}

 <!-- SEMIFINALS-->
|R2W1= |R2W1race= |R2W1flag= |R2W1score= |R2W1win=
|R2W2= |R2W2race= |R2W2flag= |R2W2score= |R2W2win=
|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=
|interview=
|recap=
}}
|R2W3= |R2W3race= |R2W3flag= |R2W3score= |R2W3win=
|R2W4= |R2W4race= |R2W4flag= |R2W4score= |R2W4win=
|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=
}}

 <!-- FINAL MATCH-->
|R3W1= |R3W1race= |R3W1flag= |R3W1score= |R3W1win=
|R3W2= |R3W2race= |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
|map1= |map1win=
|map2= |map2win=
|map3= |map3win=
}}


Adapted from Liquipedia