Difference between revisions of "Template:4DETeamBracket"
Jump to navigation
Jump to search
m |
m |
||
Line 8: | Line 8: | ||
<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 21: | Line 26: | ||
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D3score|}}}</div></div></div> | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D3score|}}}</div></div></div> | ||
{{#if:{{{R1G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | {{#if:{{{R1G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
− | + | {{BracketMatchTeams| | |
− | + | |team1={{{R1D3team|}}} | |
− | + | |team2={{{R1D4team|}}} | |
− | + | |team1tf={{{R1D3|}}} | |
+ | |team2tf={{{R1D4|}}} | ||
+ | |team1literal={{{R1D3literal|}}} | ||
+ | |team2literal={{{R1D4literal|}}} | ||
+ | |details={{{R1G2details|}}} | ||
+ | }}</div>}} | ||
<div class="bracket-cell-r1" style="{{#if:{{{R1D4win|}}}|font-weight:bold}}"> | <div class="bracket-cell-r1" style="{{#if:{{{R1D4win|}}}|font-weight:bold}}"> | ||
<div class="bracket-team-bottom" style="{{#if:{{{R1D4literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D4team|}}}|{{TeamBracket/{{{R1D4team}}}}}|{{#if:{{{R1D4|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D4}}}</span>|{{#if:{{{R1D4literal|}}}|{{{R1D4literal}}}| }}}}}} | <div class="bracket-team-bottom" style="{{#if:{{{R1D4literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D4team|}}}|{{TeamBracket/{{{R1D4team}}}}}|{{#if:{{{R1D4|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D4}}}</span>|{{#if:{{{R1D4literal|}}}|{{{R1D4literal}}}| }}}}}} | ||
Line 53: | Line 63: | ||
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W1score|}}}</div></div></div> | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W1score|}}}</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={{{R2W1team|}}} | |
− | + | |team2={{{R2W2team|}}} | |
− | + | |team1tf={{{R2W1|}}} | |
+ | |team2tf={{{R2W2|}}} | ||
+ | |team1literal={{{R2W1literal|}}} | ||
+ | |team2literal={{{R2W2literal|}}} | ||
+ | |details={{{R2G1details|}}} | ||
+ | }}</div>}} | ||
<div class="bracket-cell-r2" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}"> | <div class="bracket-cell-r2" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}"> | ||
<div class="bracket-team-bottom" style="{{#if:{{{R2W2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W2team|}}}|{{TeamBracket/{{{R2W2team}}}}}|{{#if:{{{R2W2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W2}}}</span>|{{#if:{{{R2W2literal|}}}|{{{R2W2literal}}}| }}}}}} | <div class="bracket-team-bottom" style="{{#if:{{{R2W2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W2team|}}}|{{TeamBracket/{{{R2W2team}}}}}|{{#if:{{{R2W2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W2}}}</span>|{{#if:{{{R2W2literal|}}}|{{{R2W2literal}}}| }}}}}} | ||
Line 69: | Line 84: | ||
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D5score|}}}</div></div></div> | <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D5score|}}}</div></div></div> | ||
{{#if:{{{R1G3details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | {{#if:{{{R1G3details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"> | ||
− | + | {{BracketMatchTeams| | |
− | + | |team1={{{R1D5team|}}} | |
− | + | |team2={{{R1D6team|}}} | |
− | + | |team1tf={{{R1D5|}}} | |
+ | |team2tf={{{R1D6|}}} | ||
+ | |team1literal={{{R1D5literal|}}} | ||
+ | |team2literal={{{R1D6literal|}}} | ||
+ | |details={{{R1G3details|}}} | ||
+ | }}</div>}} | ||
<div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}"> | <div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}"> | ||
<div class="bracket-team-bottom" style="{{#if:{{{R1D6literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D6team|}}}|{{TeamBracket/{{{R1D6team}}}}}|{{#if:{{{R1D6|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D6}}}</span>|{{#if:{{{R1D6literal|}}}|{{{R1D6literal}}}| }}}}}} | <div class="bracket-team-bottom" style="{{#if:{{{R1D6literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D6team|}}}|{{TeamBracket/{{{R1D6team}}}}}|{{#if:{{{R1D6|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D6}}}</span>|{{#if:{{{R1D6literal|}}}|{{{R1D6literal}}}| }}}}}} | ||
Line 97: | Line 117: | ||
<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:{{{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={{{R2D1team|}}} | |
− | + | |team2={{{R2W3team|}}} | |
− | + | |team1tf={{{R2D1|}}} | |
+ | |team2tf={{{R2W3|}}} | ||
+ | |team1literal={{{R2D1literal|}}} | ||
+ | |team2literal={{{R2W3literal|}}} | ||
+ | |details={{{R2G2details|}}} | ||
+ | }}</div>}} | ||
<div class="bracket-cell-r1" style="{{#if:{{{R2W3win|}}}|font-weight:bold}}"> | <div class="bracket-cell-r1" style="{{#if:{{{R2W3win|}}}|font-weight:bold}}"> | ||
<div class="bracket-team-bottom" style="{{#if:{{{R2W3literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W3team|}}}|{{TeamBracket/{{{R2W3team}}}}}|{{#if:{{{R2W3|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W3}}}</span>|{{#if:{{{R2W3literal|}}}|{{{R2W3literal}}}| }}}}}} | <div class="bracket-team-bottom" style="{{#if:{{{R2W3literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W3team|}}}|{{TeamBracket/{{{R2W3team}}}}}|{{#if:{{{R2W3|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W3}}}</span>|{{#if:{{{R2W3literal|}}}|{{{R2W3literal}}}| }}}}}} | ||
Line 126: | Line 151: | ||
<div style="height:164px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R3|Grand Finals}}}</div>}}</div> | <div style="height:164px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R3|Grand Finals}}}</div>}}</div> | ||
<div class="bracket-game"> | <div class="bracket-game"> | ||
− | <div class="bracket-cell-r1"> | + | <div class="bracket-cell-r1" style="{{#if:{{{R3W1win|}}}|font-weight:bold}}"> |
<div class="bracket-team-top" style="{{#if:{{{R3W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}{{#if:{{{R3W1score2|}}}|+{{{score-width|21}}}}}+2}}px">{{#if:{{{R3W1team|}}}|{{TeamBracket/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3W1}}}</span>|{{#if:{{{R3W1literal|}}}|{{{R3W1literal}}}| }}}}}} | <div class="bracket-team-top" style="{{#if:{{{R3W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}{{#if:{{{R3W1score2|}}}|+{{{score-width|21}}}}}+2}}px">{{#if:{{{R3W1team|}}}|{{TeamBracket/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3W1}}}</span>|{{#if:{{{R3W1literal|}}}|{{{R3W1literal}}}| }}}}}} | ||
− | <div class="bracket-score" style=" | + | <div class="bracket-score" style="width:{{{score-width|21}}}px;{{#if:{{{R3W1score2|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W1score|}}}</div> |
− | {{#if:{{{R3W1score2|}}}|<div class="bracket-score" style=" | + | {{#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-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}}}| }}}}}} | ||
− | <div class="bracket-score" style=" | + | <div class="bracket-score" style="width:{{{score-width|21}}}px;{{#if:{{{R3W1score2|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W2score|}}}</div> |
− | {{#if:{{{R3W1score2|}}}|<div class="bracket-score" style=" | + | {{#if:{{{R3W1score2|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W2score2|}}}</div>}}</div></div> |
</div> | </div> | ||
</div> | </div> | ||
− | <div style="clear:left" | + | <div style="clear:left"> </div><div class="bracket-push"></div></div></div></includeonly><noinclude>{{Documentation}}[[Category:Brackets]][[Category:Source Liquipedia]] |
− | [[Category:Source Liquipedia]] | ||
− |
Revision as of 10:59, 1 July 2016
(view - edit) Documentation
Semi-finals
R1D1
R1D2
R1D3
R1D4
Winners' Finals
R2W1
R2W2
Losers' Round 1
R1D5
R1D6
Losers' Finals
R2D1
R2W3
Grand Finals
R3W1
R3W2
Use
- Template for a double-elimination bracket with 4 starting teams
- The 4 initial seeds drop into the first round of the bracket (R1D1-R1D4)
- Two matches are played. The winners advance to winner's finals (R2W1-R2W2) while the losers drop down to the loser's round 1 (R1D5-R1D6)
- The winners play and the winner of that match advances to the grand finals (R3W1) while the loser drops down to loser's finals (R2D1) to face the winner of the loser's round 1 match (R2W3)
- 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:4DETeamBracket
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
{{4DETeamBracket <!-- SEMIFINALS --> |R1D1team= |R1D1score= |R1D1win= |R1D2team= |R1D2score= |R1D2win= |R1D3team= |R1D3score= |R1D3win= |R1D4team= |R1D4score= |R1D4win= <!-- WINNER'S FINALS --> |R2W1team= |R2W1score= |R2W1win= |R2W2team= |R2W2score= |R2W2win= <!-- LOSER'S ROUND 1 --> |R1D5team= |R1D5score= |R1D5win= |R1D6team= |R1D6score= |R1D6win= <!-- LOSER'S FINALS --> |R2D1team= |R2D1score= |R2D1win= |R2W3team= |R2W3score= |R2W3win= <!-- GRAND FINALS --> |R3W1team= |R3W1score= |R3W1win= |R3W2team= |R3W2score= |R3W2win= }}
Bracket with maps, bo3
{{4DETeamBracket <!-- SEMIFINALS --> |R1D1team= |R1D1score= |R1D1win= |R1D2team= |R1D2score= |R1D2win= |R1G1details={{BracketMatchSummary |date= |stream= |finished= |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= |vod2= |vod3= |interview= }} |comment= }} |R1D3team= |R1D3score= |R1D3win= |R1D4team= |R1D4score= |R1D4win= |R1G2details={{BracketMatchSummary |date= |stream= |finished= |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= |vod2= |vod3= |interview= }} |comment= }} <!-- WINNER'S FINALS --> |R2W1team= |R2W1score= |R2W1win= |R2W2team= |R2W2score= |R2W2win= |R2G1details={{BracketMatchSummary |date= |stream= |finished= |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= |vod2= |vod3= |interview= }} |comment= }} <!-- LOSER'S ROUND 1 --> |R1D5team= |R1D5score= |R1D5win= |R1D6team= |R1D6score= |R1D6win= |R1G3details={{BracketMatchSummary |date= |stream= |finished= |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= |vod2= |vod3= |interview= }} |comment= }} <!-- LOSER'S FINALS --> |R2D1team= |R2D1score= |R2D1win= |R2W3team= |R2W3score= |R2W3win= |R2G2details={{BracketMatchSummary |date= |stream= |finished= |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= |vod2= |vod3= |interview= }} |comment= }} <!-- GRAND FINALS --> |R3W1team= |R3W1score= |R3W1win= |R3W2team= |R3W2score= |R3W2win= |R3G1details={{BracketMatchSummary |date= |stream= |finished= |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= |vod2= |vod3= |interview= }} |comment= }} }}