Difference between revisions of "Template:2DE2STeamBracket"
Jump to navigation
Jump to search
m |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D1score|}}}</div></div></div> | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D1score|}}}</div></div></div> | ||
{{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | {{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
− | + | {{BracketMatchTeams| | |
− | + | |team1={{{R2D1team|}}} | |
− | + | |team2={{{R2D2team|}}} | |
− | + | |team1tf={{{R2D1|}}} | |
+ | |team2tf={{{R2D2|}}} | ||
+ | |team1literal={{{R2D1literal|}}} | ||
+ | |team2literal={{{R2D2literal|}}} | ||
+ | |details={{{R2G1details|}}} | ||
+ | }}</div>}} | ||
<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-team-bottom" style="{{#if:{{{R2D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D2team|}}}|{{TeamBracket/{{{R2D2team}}}}}|{{#if:{{{R2D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2D2}}}</span>|{{#if:{{{R2D2literal|}}}|{{{R2D2literal}}}| }}}}}} | <div class="bracket-team-bottom" style="{{#if:{{{R2D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D2team|}}}|{{TeamBracket/{{{R2D2team}}}}}|{{#if:{{{R2D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2D2}}}</span>|{{#if:{{{R2D2literal|}}}|{{{R2D2literal}}}| }}}}}} | ||
Line 26: | Line 31: | ||
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D1score|}}}</div></div></div> | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D1score|}}}</div></div></div> | ||
{{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | {{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
− | + | {{BracketMatchTeams| | |
− | + | |team1={{{R1D1team|}}} | |
− | + | |team2={{{R1D2team|}}} | |
− | + | |team1tf={{{R1D1|}}} | |
+ | |team2tf={{{R1D2|}}} | ||
+ | |team1literal={{{R1D1literal|}}} | ||
+ | |team2literal={{{R1D2literal|}}} | ||
+ | |details={{{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-team-bottom" style="{{#if:{{{R1D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D2team|}}}|{{TeamBracket/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}| }}}}}} | <div class="bracket-team-bottom" style="{{#if:{{{R1D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D2team|}}}|{{TeamBracket/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}| }}}}}} | ||
Line 54: | Line 64: | ||
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D3score|}}}</div></div></div> | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D3score|}}}</div></div></div> | ||
{{#if:{{{R2G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | {{#if:{{{R2G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
− | + | {{BracketMatchTeams| | |
− | + | |team1={{{R2D3team|}}} | |
− | + | |team2={{{R2W1team|}}} | |
− | + | |team1tf={{{R2D3|}}} | |
+ | |team2tf={{{R2W1|}}} | ||
+ | |team1literal={{{R2D3literal|}}} | ||
+ | |team2literal={{{R2W1literal|}}} | ||
+ | |details={{{R2G2details|}}} | ||
+ | }}</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-team-bottom" style="{{#if:{{{R2W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W1team|}}}|{{TeamBracket/{{{R2W1team}}}}}|{{#if:{{{R2W1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W1}}}</span>|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}| }}}}}} | <div class="bracket-team-bottom" style="{{#if:{{{R2W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W1team|}}}|{{TeamBracket/{{{R2W1team}}}}}|{{#if:{{{R2W1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W1}}}</span>|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}| }}}}}} | ||
Line 88: | Line 103: | ||
{{#if:{{{R3W1score2|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W1score2|}}}</div>}}</div></div> | {{#if:{{{R3W1score2|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W1score2|}}}</div>}}</div></div> | ||
{{#if:{{{R3G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | {{#if:{{{R3G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
− | + | {{BracketMatchTeams| | |
− | + | |team1={{{R3W1team|}}} | |
− | + | |team2={{{R3W2team|}}} | |
− | + | |team1tf={{{R3W1|}}} | |
+ | |team2tf={{{R3W2|}}} | ||
+ | |team1literal={{{R3W1literal|}}} | ||
+ | |team2literal={{{R3W2literal|}}} | ||
+ | |details={{{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-team-bottom" style="{{#if:{{{R3W2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}{{#if:{{{R3W1score2|}}}|+{{{score-width|21}}}}}+2}}px">{{#if:{{{R3W2team|}}}|{{TeamBracket/{{{R3W2team}}}}}|{{#if:{{{R3W2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3W2}}}</span>|{{#if:{{{R3W2literal|}}}|{{{R3W2literal}}}| }}}}}} | <div class="bracket-team-bottom" style="{{#if:{{{R3W2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}{{#if:{{{R3W1score2|}}}|+{{{score-width|21}}}}}+2}}px">{{#if:{{{R3W2team|}}}|{{TeamBracket/{{{R3W2team}}}}}|{{#if:{{{R3W2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3W2}}}</span>|{{#if:{{{R3W2literal|}}}|{{{R3W2literal}}}| }}}}}} | ||
Line 97: | Line 117: | ||
{{#if:{{{R3W1score2|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W2score2|}}}</div>}}</div></div> | {{#if:{{{R3W1score2|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W2score2|}}}</div>}}</div></div> | ||
</div> | </div> | ||
+ | {{#if:{{{R3D1|}}}{{{R3D1team|}}}{{{R3D1literal|}}}| | ||
+ | <div style="text-align:center;margin-bottom:-14px;margin-top:31px">{{{L3|'''3rd Place Match'''}}}</div> | ||
+ | <div class="bracket-game"> | ||
+ | <div class="bracket-cell-r1" style="{{#if:{{{R3D1win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-top" style="{{#if:{{{R3D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3D1team|}}}|{{TeamBracket/{{{R3D1team}}}}}|{{#if:{{{R3D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3D1}}}</span>|{{#if:{{{R3D1literal|}}}|{{{R3D1literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3D1score|}}}</div></div></div> | ||
+ | {{#if:{{{R3G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
+ | {{BracketMatchTeams| | ||
+ | |team1={{{R3D1team|}}} | ||
+ | |team2={{{R3D2team|}}} | ||
+ | |team1tf={{{R3D1|}}} | ||
+ | |team2tf={{{R3D2|}}} | ||
+ | |team1literal={{{R3D1literal|}}} | ||
+ | |team2literal={{{R3D2literal|}}} | ||
+ | |details={{{R3G2details|}}} | ||
+ | }}</div>}} | ||
+ | <div class="bracket-cell-r1" style="{{#if:{{{R3D2win|}}}|font-weight:bold}}"> | ||
+ | <div class="bracket-team-bottom" style="{{#if:{{{R3D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3D2team|}}}|{{TeamBracket/{{{R3D2team}}}}}|{{#if:{{{R3D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3D2}}}</span>|{{#if:{{{R3D2literal|}}}|{{{R3D2literal}}}| }}}}}} | ||
+ | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3D2score|}}}</div></div></div></div> | ||
+ | }} | ||
</div> | </div> | ||
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></includeonly><noinclude>{{Documentation}}[[Category:Team Brackets]][[Category:Brackets]][[Category:Source Liquipedia]] | <div style="clear:left"> </div></div><div class="bracket-push"></div></div></includeonly><noinclude>{{Documentation}}[[Category:Team Brackets]][[Category:Brackets]][[Category:Source Liquipedia]] |
Latest revision as of 15:54, 22 May 2016
(view - edit) Documentation
Winners' Round 1
R2D1
R2D2
Losers' Round 1
R1D1
R1D2
Losers' Round 2
R2D3
R2W1
Grand Finals
R3W1
R3W2
Use
- Template for a double-elimination bracket with 2 starting teams in winners' and 2 starting teams in losers' bracket
- The 2 top seeds drop into the first round of the winners' bracket (R2D1-R2D2)
- The 2 bottom seeds drop into the first round of the losers' bracket (R1D1-R1D2)
- One match is played in winners' round 1. The winner go on to the grand finals (R3W1) while the loser drop down to the losers' finals (R2D3)
- One match is played in the losers' round 1. The winner goes on to the losers' finals (R2W1).
- The winner of the loser's finals also advances to the grand finals (R3W2)
- Make R1D1win variable non empty to bold winning team
- If the grand finals have 2 series played, a 2nd series score cell is available under R3W1score2 and R3W2score2 (should be left blank if no 2nd series is played)
- To see this template in action, view the source to one of the pages listed on WhatLinksHere:Template:2DE2STeamBracket
More options |
---|
|R1D1literal=
|R1=Semifinals |R2=Winner's Finals |L1=Loser's Round 1 |L2=Loser's Finals |R3=Grand Finals
|hideroundtitles=true
|column-width=170 |score-width=21 |
Copy/Paste
Simple bracket with no further details
{{2DE2STeamBracket <!-- WINNER'S ROUND 1 --> |R2D1team= |R2D1score= |R2D1win= |R2D2team= |R2D2score= |R2D2win= <!-- LOSER'S ROUND 1 --> |R1D1team= |R1D1score= |R1D1win= |R1D2team= |R1D2score= |R1D2win= <!-- LOSER'S FINALS --> |R2D3team= |R2D3score= |R2D3win= |R2W1team= |R2W1score= |R2W1win= <!-- GRAND FINALS --> |R3W1team= |R3W1score= |R3W1win= |R3W2team= |R3W2score= |R3W2win= <!-- EXTENDED SERIES (optional) --> |R3W1score2= |R3W2score2= }}
Bracket, all matches Bo3
{{2DE2STeamBracket <!-- WINNER'S ROUND 1 --> |R2D1team= |R2D1score= |R2D1win= |R2D2team= |R2D2score= |R2D2win= |R2G1details={{BracketMatchSummary |match1={{Game |t1score= |t2score= |map= |win= }} |match2={{Game |t1score= |t2score= |map= |win= }} |match3={{Game |t1score= |t2score= |map= |win= }} | details={{Details |log1= |log1gc= |log2= |log2gc= |log3= |log3gc= |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= }} }} <!-- LOSER'S ROUND 1 --> |R1D1team= |R1D1score= |R1D1win= |R1D2team= |R1D2score= |R1D2win= |R1G1details={{BracketMatchSummary |match1={{Game |t1score= |t2score= |map= |win= }} |match2={{Game |t1score= |t2score= |map= |win= }} |match3={{Game |t1score= |t2score= |map= |win= }} | details={{Details |log1= |log1gc= |log2= |log2gc= |log3= |log3gc= |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= }} }} <!-- LOSER'S FINALS --> |R2D3team= |R2D3score= |R2D3win= |R2W1team= |R2W1score= |R2W1win= |R2G2details={{BracketMatchSummary |match1={{Game |t1score= |t2score= |map= |win= }} |match2={{Game |t1score= |t2score= |map= |win= }} |match3={{Game |t1score= |t2score= |map= |win= }} | details={{Details |log1= |log1gc= |log2= |log2gc= |log3= |log3gc= |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= }} }} <!-- GRAND FINALS --> |R3W1team= |R3W1score= |R3W1win= |R3W2team= |R3W2score= |R3W2win= |R3G1details={{BracketMatchSummary |match1={{Game |t1score= |t2score= |map= |win= }} |match2={{Game |t1score= |t2score= |map= |win= }} |match3={{Game |t1score= |t2score= |map= |win= }} | details={{Details |log1= |log1gc= |log2= |log2gc= |log3= |log3gc= |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= }} }} <!-- EXTENDED SERIES (optional) --> |R3W1score2= |R3W2score2= }}
Bracket with all possible details, all matches Bo3
{{2DE2STeamBracket <!-- WINNER'S ROUND 1 --> |R2D1team= |R2D1score= |R2D1win= |R2D2team= |R2D2score= |R2D2win= |R2G1details={{BracketMatchSummary |date= |stream= |finished= |preview=|recap= |match1={{Game |t1score= |t2score= |map= |win= }} |match2={{Game |t1score= |t2score= |map= |win= }} |match3={{Game |t1score= |t2score= |map= |win= }} | details={{Details |log1= |log1gc= |log2= |log2gc= |log3= |log3gc= |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= |interview= }} |comment= }} <!-- LOSER'S ROUND 1 --> |R1D1team= |R1D1score= |R1D1win= |R1D2team= |R1D2score= |R1D2win= |R1G1details={{BracketMatchSummary |date= |stream= |finished= |preview=|recap= |match1={{Game |t1score= |t2score= |map= |win= }} |match2={{Game |t1score= |t2score= |map= |win= }} |match3={{Game |t1score= |t2score= |map= |win= }} | details={{Details |log1= |log1gc= |log2= |log2gc= |log3= |log3gc= |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= |interview= }} |comment= }} <!-- LOSER'S FINALS --> |R2D3team= |R2D3score= |R2D3win= |R2W1team= |R2W1score= |R2W1win= |R2G2details={{BracketMatchSummary |date= |stream= |finished= |preview=|recap= |match1={{Game |t1score= |t2score= |map= |win= }} |match2={{Game |t1score= |t2score= |map= |win= }} |match3={{Game |t1score= |t2score= |map= |win= }} | details={{Details |log1= |log1gc= |log2= |log2gc= |log3= |log3gc= |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= |interview= }} |comment= }} <!-- GRAND FINALS --> |R3W1team= |R3W1score= |R3W1win= |R3W2team= |R3W2score= |R3W2win= |R3G1details={{BracketMatchSummary |date= |stream= |finished= |preview=|recap= |match1={{Game |t1score= |t2score= |map= |win= }} |match2={{Game |t1score= |t2score= |map= |win= }} |match3={{Game |t1score= |t2score= |map= |win= }} |match4={{Game |t1score= |t2score= |map= |win= }} |match5={{Game |t1score= |t2score= |map= |win= }} | details={{Details |log1= |log1gc= |log2= |log2gc= |log3= |log3gc= |log4= |log4gc= |log5= |log5gc= |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= |vod4= |vod4gc= |vod5= |vod5gc= |interview= }} |comment= }} <!-- EXTENDED SERIES (optional) --> |R3W1score2= |R3W2score2= <!-- Bronze Match --> |R3D1team= |R3D1score= |R3D1win= |R3D2team= |R3D2score= |R3D2win= |R3G2details={{BracketMatchSummary |date= |stream= |finished= |preview=|recap= |match1={{Game |t1score= |t2score= |map= |win= }} |match2={{Game |t1score= |t2score= |map= |win= }} |match3={{Game |t1score= |t2score= |map= |win= }} | details={{Details |log1= |log1gc= |log2= |log2gc= |log3= |log3gc= |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= |interview= }} |comment= }} }}