Difference between revisions of "Template:32SEBracket"
From QWiki
m (Fix: all popups should be wider now) |
m (Fixed bad flag params for 3rd place finisher code) |
||
Line 486: | Line 486: | ||
<div class="bracket-player-top" style="background:{{RaceColor|{{#if:{{{R5D1race|}}}|{{{R5D1race}}}|{{#var:{{{R5D1|}}}_race}}}}}}; padding-right:{{#expr:{{{score-width|21}}}+2}}px"> {{FlagNoLink/{{lc:{{#if:{{{R5D1flag|}}}|{{{R5D1flag}}}|{{#var:{{{R5D1|}}}_flag}}}}}}}} <span style="vertical-align:-1px;">{{#if:{{{R5D1|}}}|{{{R5D1}}}|{{#if:{{{R5D1literal|}}}|{{{R5D1literal}}}}}}}</span><div class="bracket-score" style="width:21px">{{{R5D1score|}}}</div></div></div> | <div class="bracket-player-top" style="background:{{RaceColor|{{#if:{{{R5D1race|}}}|{{{R5D1race}}}|{{#var:{{{R5D1|}}}_race}}}}}}; padding-right:{{#expr:{{{score-width|21}}}+2}}px"> {{FlagNoLink/{{lc:{{#if:{{{R5D1flag|}}}|{{{R5D1flag}}}|{{#var:{{{R5D1|}}}_flag}}}}}}}} <span style="vertical-align:-1px;">{{#if:{{{R5D1|}}}|{{{R5D1}}}|{{#if:{{{R5D1literal|}}}|{{{R5D1literal}}}}}}}</span><div class="bracket-score" style="width:21px">{{{R5D1score|}}}</div></div></div> | ||
{{#if:{{{R5G2details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup"> | {{#if:{{{R5G2details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup"> | ||
− | {{BracketMatchPlayers|{{#if:{{{ | + | {{BracketMatchPlayers|{{#if:{{{R5D1|}}}|{{{R5D1}}}|TBD}}|{{{R5D1flag|}}}|{{#if:{{{R5D2|}}}|{{{R5D2}}}|TBD}}|{{{R5D2flag|}}}}} {{{R5G2details}}}</div></div>}} |
<div class="bracket-cell-r1" style="{{#if:{{{R5D2win|}}}|font-weight:bold}}"> | <div class="bracket-cell-r1" style="{{#if:{{{R5D2win|}}}|font-weight:bold}}"> | ||
<div class="bracket-player-bottom" style="background:{{RaceColor|{{#if:{{{R5D2race|}}}|{{{R5D2race}}}|{{#var:{{{R5D2|}}}_race}}}}}}; padding-right:{{#expr:{{{score-width|21}}}+2}}px"> {{FlagNoLink/{{lc:{{#if:{{{R5D2flag|}}}|{{{R5D2flag}}}|{{#var:{{{R5D2|}}}_flag}}}}}}}} <span style="vertical-align:-1px;">{{#if:{{{R5D2|}}}|{{{R5D2}}}|{{#if:{{{R5D2literal|}}}|{{{R5D2literal}}}}}}}</span><div class="bracket-score" style="width:21px">{{{R5D2score|}}}</div></div></div> | <div class="bracket-player-bottom" style="background:{{RaceColor|{{#if:{{{R5D2race|}}}|{{{R5D2race}}}|{{#var:{{{R5D2|}}}_race}}}}}}; padding-right:{{#expr:{{{score-width|21}}}+2}}px"> {{FlagNoLink/{{lc:{{#if:{{{R5D2flag|}}}|{{{R5D2flag}}}|{{#var:{{{R5D2|}}}_flag}}}}}}}} <span style="vertical-align:-1px;">{{#if:{{{R5D2|}}}|{{{R5D2}}}|{{#if:{{{R5D2literal|}}}|{{{R5D2literal}}}}}}}</span><div class="bracket-score" style="width:21px">{{{R5D2score|}}}</div></div></div> |
Revision as of 19:06, 26 November 2022
Documentation (view - edit)
Round of 32
Round of 16
Quarterfinals
Semifinals
Finals
Use
- Template for a single-elimination bracket with 32 starting players
- Five rounds, with 32, 16, 8, 4 and 2 players respectively.
- Variables are R1D1-32, R2W1-16, R3W1-8, R4W1-4, R5W1-2 for the players.
- To add information about maps, link to vods, a short note, etc. use (See Template:BracketMatchSummary for further details):
- Overtime: If a map went to overtime, add |map#ot=1. The value 1 equals the number of consecutive overtimes, rarely more than 1.
- Walkover: If a player leaves WO, add |R#D#race=wo. Can also be set to red, green, blue, yellow and white - please avoid this if you can.
- 3rd place match variables are R5D1 and R5D2. 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 customize the names of the Rounds (default: Quarterfinals, Semifinals, Finals) use:
|R1= |R2= |R3= |R4= |R5= |L5=
- To remove Round titles completely use:
|hideroundtitles=true
- To customize column width or score width use:
|column-width= |score-width=
- Variables for details are: R1G1-16, R2G1-8, R3G1-4, R4G1-2, R5G1-2 (read Round x Game y)
|R1G1details={{BracketMatchSummary |date= |map1= |map1win= |map1p1frags= |map1p2frags= |map1ot= |vodgame1= |map2= |map2win= |map2p1frags= |map2p2frags= |map2ot= |vodgame2= |map3= |map3win= |map3p1frags= |map3p2frags= |map3ot= |vodgame3= |map4= |map4win= |map4p1frags= |map4p2frags= |map4ot= |vodgame4= |map5= |map5win= |map5p1frags= |map5p2frags= |map5ot= |vodgame5= |comment= }}
Copy/Paste
{{32SEBracket <!-- Round of 32 --> |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= }} |R1D9= |R1D9flag= |R1D9score= |R1D9win= |R1D10= |R1D10flag= |R1D10score= |R1D10win= |R1G5details={{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= }} |R1D11= |R1D11flag= |R1D11score= |R1D11win= |R1D12= |R1D12flag= |R1D12score= |R1D12win= |R1G6details={{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= }} |R1D13= |R1D13flag= |R1D13score= |R1D13win= |R1D14= |R1D14flag= |R1D14score= |R1D14win= |R1G7details={{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= }} |R1D15= |R1D15flag= |R1D15score= |R1D15win= |R1D16= |R1D16flag= |R1D16score= |R1D16win= |R1G8details={{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= }} |R1D17= |R1D17flag= |R1D17score= |R1D17win= |R1D18= |R1D18flag= |R1D18score= |R1D18win= |R1G9details={{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= }} |R1D19= |R1D19flag= |R1D19score= |R1D19win= |R1D20= |R1D20flag= |R1D20score= |R1D20win= |R1G10details={{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= }} |R1D21= |R1D21flag= |R1D21score= |R1D21win= |R1D22= |R1D22flag= |R1D22score= |R1D22win= |R1G11details={{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= }} |R1D23= |R1D23flag= |R1D23score= |R1D23win= |R1D24= |R1D24flag= |R1D24score= |R1D24win= |R1G12details={{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= }} |R1D25= |R1D25flag= |R1D25score= |R1D25win= |R1D26= |R1D26flag= |R1D26score= |R1D26win= |R1G13details={{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= }} |R1D27= |R1D27flag= |R1D27score= |R1D27win= |R1D28= |R1D28flag= |R1D28score= |R1D28win= |R1G14details={{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= }} |R1D29= |R1D29flag= |R1D29score= |R1D29win= |R1D30= |R1D30flag= |R1D30score= |R1D30win= |R1G15details={{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= }} |R1D31= |R1D31flag= |R1D31score= |R1D31win= |R1D32= |R1D32flag= |R1D32score= |R1D32win= |R1G16details={{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= }} <!-- Round of 16 --> |R2W1= |R2W1flag= |R2W1score= |R2W1win= |R2W2= |R2W2flag= |R2W2score= |R2W2win= |R2G1details={{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= }} |R2W3= |R2W3flag= |R2W3score= |R2W3win= |R2W4= |R2W4flag= |R2W4score= |R2W4win= |R2G2details={{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= }} |R2W5= |R2W5flag= |R2W5score= |R2W5win= |R2W6= |R2W6flag= |R2W6score= |R2W6win= |R2G3details={{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= }} |R2W7= |R2W7flag= |R2W7score= |R2W7win= |R2W8= |R2W8flag= |R2W8score= |R2W8win= |R2G4details={{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= }} |R2W9= |R2W9flag= |R2W9score= |R2W9win= |R2W10= |R2W10flag= |R2W10score= |R2W10win= |R2G5details={{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= }} |R2W11= |R2W11flag= |R2W11score= |R2W11win= |R2W12= |R2W12flag= |R2W12score= |R2W12win= |R2G6details={{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= }} |R2W13= |R2W13flag= |R2W13score= |R2W13win= |R2W14= |R2W14flag= |R2W14score= |R2W14win= |R2G7details={{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= }} |R2W15= |R2W15flag= |R2W15score= |R2W15win= |R2W16= |R2W16flag= |R2W16score= |R2W16win= |R2G8details={{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= }} <!-- Quarterfinals --> |R3W1= |R3W1flag= |R3W1score= |R3W1win= |R3W2= |R3W2flag= |R3W2score= |R3W2win= |R3G1details={{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= }} |R3W3= |R3W3flag= |R3W3score= |R3W3win= |R3W4= |R3W4flag= |R3W4score= |R3W4win= |R3G2details={{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= }} |R3W5= |R3W5flag= |R3W5score= |R3W5win= |R3W6= |R3W6flag= |R3W6score= |R3W6win= |R3G3details={{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= }} |R3W7= |R3W7flag= |R3W7score= |R3W7win= |R3W8= |R3W8flag= |R3W8score= |R3W8win= |R3G4details={{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= }} <!-- Semifinals --> |R4W1= |R4W1flag= |R4W1score= |R4W1win= |R4W2= |R4W2flag= |R4W2score= |R4W2win= |R4G1details={{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= }} |R4W3= |R4W3flag= |R4W3score= |R4W3win= |R4W4= |R4W4flag= |R4W4score= |R4W4win= |R4G2details={{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= }} <!-- Finals --> |R5W1= |R5W1flag= |R5W1score= |R5W1win= |R5W2= |R5W2flag= |R5W2score= |R5W2win= |R5G1details={{BracketMatchSummary |date= |finished= |stream= |vod= |stream2= |vod2 |map1= |map1win= |map1p1frags= |map1p2frags= |map2= |map2win= |map2p1frags= |map2p2frags= |map3= |map3win= |map3p1frags= |map3p2frags= |map4= |map4win= |map4p1frags= |map4p2frags= |map5= |map5win= |map5p1frags= |map5p2frags= }} <!-- 3RD PLACE --> |R5D1= |R5D1flag= |R5D1score= |R5D1win= |R5D2= |R5D2flag= |R5D2score= |R5D2win= |R5G2details={{BracketMatchSummary |date= |finished= |stream= |vod= |stream2= |vod2 |map1= |map1win= |map1p1frags= |map1p2frags= |map2= |map2win= |map2p1frags= |map2p2frags= |map3= |map3win= |map3p1frags= |map3p2frags= |map4= |map4win= |map4p1frags= |map4p2frags= |map5= |map5win= |map5p1frags= |map5p2frags= }} }}
Adapted from Liquipedia