Difference between revisions of "Template:6DE2LTeamBracket"

From comp.tf
Jump to navigation Jump to search
(Created page with "<includeonly><div class="bracket-wrapper"><div style="width:{{#expr:{{{column-width|170}}}*4+85{{#if:{{{R5W1score2|}}}|+{{{score-width|21}}}}}{{#if:{{{R5W1score3|}}}|+{{{score...")
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<div style="width:{{#expr:{{{column-width|170}}}*3+40}}px;float:left"> <!-- DE section -->
 
<div style="width:{{#expr:{{{column-width|170}}}*3+40}}px;float:left"> <!-- DE section -->
 
   <div class="bracket-column" style="width:{{{column-width|170}}}px">
 
   <div class="bracket-column" style="width:{{{column-width|170}}}px">
<div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R2|Semifinals}}}</div>}}</div>
+
<div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R1|Semifinals}}}</div>}}</div>
 
<div class="bracket-game">
 
<div class="bracket-game">
 
<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-team-top" style="{{#if:{{{R1D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D1team|}}}|{{TeamBracket/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D1}}}</span>|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}|&nbsp;}}}}}}
 
<div class="bracket-team-top" style="{{#if:{{{R1D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D1team|}}}|{{TeamBracket/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D1}}}</span>|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}|&nbsp;}}}}}}
 
<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:{{{R2G1details|}}}|<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|
 
{{BracketMatchTeams|
 
|team1={{{R1D1team|}}}
 
|team1={{{R1D1team|}}}
Line 15: Line 15:
 
|team1literal={{{R1D1literal|}}}
 
|team1literal={{{R1D1literal|}}}
 
|team2literal={{{R1D2literal|}}}
 
|team2literal={{{R1D2literal|}}}
|details={{{R2G1details|}}}
+
|details={{{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 25: Line 25:
 
<div class="bracket-team-top" style="{{#if:{{{R1D3literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D3team|}}}|{{TeamBracket/{{{R1D3team}}}}}|{{#if:{{{R1D3|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D3}}}</span>|{{#if:{{{R1D3literal|}}}|{{{R1D3literal}}}|&nbsp;}}}}}}
 
<div class="bracket-team-top" style="{{#if:{{{R1D3literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D3team|}}}|{{TeamBracket/{{{R1D3team}}}}}|{{#if:{{{R1D3|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D3}}}</span>|{{#if:{{{R1D3literal|}}}|{{{R1D3literal}}}|&nbsp;}}}}}}
 
<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:{{{R2G2details|}}}|<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|
 
{{BracketMatchTeams|
 
|team1={{{R1D3team|}}}
 
|team1={{{R1D3team|}}}
Line 33: Line 33:
 
|team1literal={{{R1D3literal|}}}
 
|team1literal={{{R1D3literal|}}}
 
|team2literal={{{R1D4literal|}}}
 
|team2literal={{{R1D4literal|}}}
|details={{{R2G2details|}}}
+
|details={{{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 83: Line 83:
 
<div class="bracket-team-top" style="{{#if:{{{R2D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D1team|}}}|{{TeamBracket/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2D1}}}</span>|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}
 
<div class="bracket-team-top" style="{{#if:{{{R2D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D1team|}}}|{{TeamBracket/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2D1}}}</span>|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}
 
<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:{{{R2G3details|}}}|<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|
 
{{BracketMatchTeams|
 
|team1={{{R2D1team|}}}
 
|team1={{{R2D1team|}}}
Line 91: Line 91:
 
|team1literal={{{R2D1literal|}}}
 
|team1literal={{{R2D1literal|}}}
 
|team2literal={{{R2W5literal|}}}
 
|team2literal={{{R2W5literal|}}}
|details={{{R2G3details|}}}
+
|details={{{R2G1details|}}}
 
}}</div>}}
 
}}</div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W5win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W5win|}}}|font-weight:bold}}">
Line 101: Line 101:
 
<div class="bracket-team-top" 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}}}|&nbsp;}}}}}}
 
<div class="bracket-team-top" 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}}}|&nbsp;}}}}}}
 
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D2score|}}}</div></div></div>
 
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D2score|}}}</div></div></div>
{{#if:{{{R2G4details|}}}|<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|
 
{{BracketMatchTeams|
 
|team1={{{R2D2team|}}}
 
|team1={{{R2D2team|}}}
Line 109: Line 109:
 
|team1literal={{{R2D2literal|}}}
 
|team1literal={{{R2D2literal|}}}
 
|team2literal={{{R2W6literal|}}}
 
|team2literal={{{R2W6literal|}}}
|details={{{R2G4details|}}}
+
|details={{{R2G2details|}}}
 
}}</div>}}
 
}}</div>}}
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W6win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r1" style="{{#if:{{{R2W6win|}}}|font-weight:bold}}">
Line 166: Line 166:
 
   </div>
 
   </div>
 
   <div class="bracket-column" style="width:{{{column-width|170}}}px">
 
   <div class="bracket-column" style="width:{{{column-width|170}}}px">
<div style="height:32px;margin-top:16px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{L4|Losers' Finals}}}</div>}}</div>
+
<div style="height:32px;margin-top:16px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{L3|Losers' Finals}}}</div>}}</div>
 
<div class="bracket-game">
 
<div class="bracket-game">
 
<div class="bracket-cell-r2" style="{{#if:{{{R4D1win|}}}|font-weight:bold}}">
 
<div class="bracket-cell-r2" style="{{#if:{{{R4D1win|}}}|font-weight:bold}}">

Latest revision as of 16:23, 21 January 2017

(view - edit) Documentation

Semifinals
R1D1
R1D2
R1D3
R1D4
Winners' Finals
R4W1
R4W2
Losers' Round 1
R2D1
R2W5
R2D2
R2W6
Losers' Round 2
R3W1
R3W2
Losers' Finals
R4D1
R4W3
Grand Finals
R5W1
R5W2

Use

Template for a double-elimination bracket with 6 starting teams: 4 coming from the upper bracket and 2 from the lower one

Copy/Paste

Simple bracket with no further details

{{6DE2LTeamBracket
<!-- SEMIFINALS -->
|R1D1team= |R1D1score= |R1D1win=
|R1D2team= |R1D2score= |R1D2win=
|R1D3team= |R1D3score= |R1D3win=
|R1D4team= |R1D4score= |R1D4win=
<!-- WINNER'S FINALS -->
|R4W1team= |R4W1score= |R4W1win=
|R4W2team= |R4W2score= |R4W2win=
<!-- LOSER'S ROUND 1 -->
|R2D1team= |R2D1score= |R2D1win=
|R2W5team= |R2W5score= |R2W5win=
|R2D2team= |R2D2score= |R2D2win=
|R2W6team= |R2W6score= |R2W6win=
<!-- LOSER'S ROUND 2 -->
|R3W1team= |R3W1score= |R3W1win=
|R3W2team= |R3W2score= |R3W2win=
<!-- LOSER'S FINALS -->
|R4D1team= |R4D1score= |win=R4D1
|R4W3team= |R4W3score= |win=R4W3
<!-- GRAND FINALS -->
|R5W1team= |score=R5W1 |win=R5W1
|R5W2team= |score=R5W2 |win=R5W2
<!-- EXTENDED SERIES (optional) -->
|R5W1score2=
|R5W2score2=
<!-- EXTENDED SERIES THIRD ROUND(optional) -->
|R5W1score3=
|R5W2score3=
}}

Bracket with maps, bo3

{{6DE2LTeamBracket
<!-- 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= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc=
     |etf2l= |esea= |ozfortress= |faceit= |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= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc=
     |etf2l= |esea= |ozfortress= |faceit= |interview=
	 }}
	 |comment=
 }}
<!-- WINNER'S FINALS -->
|R4W1team= |R4W1score= |R4W1win=
|R4W2team= |R4W2score= |R4W2win=
|R4G1details={{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= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc=
     |etf2l= |esea= |ozfortress= |faceit= |interview=
	 }}
	 |comment=
 }}
<!-- LOSER'S ROUND 1 -->
|R2D1team= |R2D1score= |R2D1win=
|R2W5team= |R2W5score= |R2W5win=
|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= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc=
     |etf2l= |esea= |ozfortress= |faceit= |interview=
	 }}
	 |comment=
 }}
|R2D2team= |R2D2score= |R2D2win=
|R2W6team= |R2W6score= |R2W6win=
|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= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc=
     |etf2l= |esea= |ozfortress= |faceit= |interview=
	 }}
	 |comment=
 }}
<!-- LOSER'S ROUND 2 -->
|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= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc=
     |etf2l= |esea= |ozfortress= |faceit= |interview=
	 }}
	 |comment=
 }}
<!-- LOSER'S FINALS -->
|R4D1team= |R4D1score= |R4D1win=
|R4W3team= |R4W3score= |R4W3win=
|R4G2details={{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= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc=
     |etf2l= |esea= |ozfortress= |faceit= |interview=
	 }}
	 |comment=
 }}
<!-- GRAND FINALS -->
|R5W1team= |R5W1score= |R5W1win=
|R5W2team= |R5W2score= |R5W2win=
|R5G1details={{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= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc=
     |etf2l= |esea= |ozfortress= |faceit= |interview=
	 }}
	 |comment=
 }}
<!-- EXTENDED SERIES (optional) -->
|R5W1score2=
|R5W2score2=
<!-- EXTENDED SERIES THIRD ROUND(optional) -->
|R5W1score3=
|R5W2score3=
}}