Difference between revisions of "Template:4Qual-8SEBracket"

From QWiki
m (Trimming out Starcraft flags in favour of country flags)
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|{{#if:{{{R1D1|}}}|{{{R1D1}}}|TBD}}|{{{R1D1flag|}}}|{{#if:{{{R1D2|}}}|{{{R1D2}}}|TBD}}|{{{R1D2flag|}}}}} {{{R1G1details}}}</div></div>}}
 
           {{BracketMatchPlayers|{{#if:{{{R1D1|}}}|{{{R1D1}}}|TBD}}|{{{R1D1flag|}}}|{{#if:{{{R1D2|}}}|{{{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|{{#if:{{{R1D3|}}}|{{{R1D3}}}|TBD}}|{{{R1D3flag|}}}|{{#if:{{{R1D4|}}}|{{{R1D4}}}|TBD}}|{{{R1D4flag|}}}}} {{{R1G2details}}}</div></div>}}
 
           {{BracketMatchPlayers|{{#if:{{{R1D3|}}}|{{{R1D3}}}|TBD}}|{{{R1D3flag|}}}|{{#if:{{{R1D4|}}}|{{{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 21: Line 21:
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D5win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D5win|}}}|font-weight:bold}}">
 
         <div class="bracket-player-top" style="{{#if:{{{R1D5race|}}}|background:{{RaceColor|{{{R1D5race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D5flag|}}}|{{FlagNoLink/{{lc:{{{R1D5flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D5|R1D5}}}</span><div class="bracket-score" style="width:21px">{{{R1D5score|}}}</div></div></div>
 
         <div class="bracket-player-top" style="{{#if:{{{R1D5race|}}}|background:{{RaceColor|{{{R1D5race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D5flag|}}}|{{FlagNoLink/{{lc:{{{R1D5flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D5|R1D5}}}</span><div class="bracket-score" style="width:21px">{{{R1D5score|}}}</div></div></div>
         {{#if:{{{R1G3details|}}}|<div class="bracket-popup-wrapper bracket-popup-player" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
+
         {{#if:{{{R1G3details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
 
           {{BracketMatchPlayers|{{#if:{{{R1D5|}}}|{{{R1D5}}}|TBD}}|{{{R1D5flag|}}}|{{#if:{{{R1D6|}}}|{{{R1D6}}}|TBD}}|{{{R1D6flag|}}}}} {{{R1G3details}}}</div></div>}}
 
           {{BracketMatchPlayers|{{#if:{{{R1D5|}}}|{{{R1D5}}}|TBD}}|{{{R1D5flag|}}}|{{#if:{{{R1D6|}}}|{{{R1D6}}}|TBD}}|{{{R1D6flag|}}}}} {{{R1G3details}}}</div></div>}}
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}">
Line 29: Line 29:
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D7win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D7win|}}}|font-weight:bold}}">
 
         <div class="bracket-player-top" style="{{#if:{{{R1D7race|}}}|background:{{RaceColor|{{{R1D7race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D7flag|}}}|{{FlagNoLink/{{lc:{{{R1D7flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D7|R1D7}}}</span><div class="bracket-score" style="width:21px">{{{R1D7score|}}}</div></div></div>
 
         <div class="bracket-player-top" style="{{#if:{{{R1D7race|}}}|background:{{RaceColor|{{{R1D7race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D7flag|}}}|{{FlagNoLink/{{lc:{{{R1D7flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D7|R1D7}}}</span><div class="bracket-score" style="width:21px">{{{R1D7score|}}}</div></div></div>
         {{#if:{{{R1G4details|}}}|<div class="bracket-popup-wrapper bracket-popup-player" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
+
         {{#if:{{{R1G4details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup">
 
           {{BracketMatchPlayers|{{#if:{{{R1D7|}}}|{{{R1D7}}}|TBD}}|{{{R1D7flag|}}}|{{#if:{{{R1D8|}}}|{{{R1D8}}}|TBD}}|{{{R1D8flag|}}}}} {{{R1G4details}}}</div></div>}}
 
           {{BracketMatchPlayers|{{#if:{{{R1D7|}}}|{{{R1D7}}}|TBD}}|{{{R1D7flag|}}}|{{#if:{{{R1D8|}}}|{{{R1D8}}}|TBD}}|{{{R1D8flag|}}}}} {{{R1G4details}}}</div></div>}}
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D8win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D8win|}}}|font-weight:bold}}">

Latest revision as of 09:29, 26 February 2021

Documentation (view - edit)

Quarterfinals
  R1D1
  R1D2
  R1D3
  R1D4
  R1D5
  R1D6
  R1D7
  R1D8
Qualified
  Q1
  Q2
  Q3
  Q4

Use

Template for the first round or round of 8 in a single-elimination bracket format with 8 starting players
  • One round with 8 players, and one round of "qualified" 4 players.
  • To bold winners and winners' scores use:
|R1D1=Playername |R1D1score=2 |R1D1win=1
  • To customize the names of the Rounds (default: Quarterfinals, Qualified) use:
|R1=
|R2=

  • To remove Round titles completely use:
|hideroundtitles=true
  • To customize column width or score width use:
|column-width=
|score-width=
  • To add information about maps, link to vods, a short note, etc. use (See Template:BracketMatchSummary for further details):
  • 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

{{4Qual-8SEBracket
 <!-- QUARTERFINALS -->
|R1D1= |R1D1flag= |R1D1score= |R1D1win=
|R1D2= |R1D2flag= |R1D2score= |R1D2win=
|R1G1details={{BracketMatchSummary
|date= 
|finished=
|stream=
|vod=
|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=
|vod=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags=
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}
|R1D5= |R1D5flag= |R1D5score= |R1D5win=
|R1D6= |R1D6flag= |R1D6score= |R1D6win=
|R1G3details={{BracketMatchSummary
|date= 
|finished=
|stream=
|vod=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags=
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}
|R1D7= |R1D7flag= |R1D7score= |R1D7win=
|R1D8= |R1D8flag= |R1D8score= |R1D8win=
|R1G4details={{BracketMatchSummary
|date= 
|finished=
|stream=
|vod=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags=
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}

 <!-- QUALIFIED-->
|Q1= |Q1flag=
|Q2= |Q2flag=
|Q3= |Q3flag=
|Q4= |Q4flag=
}}

Adapted from Liquipedia