Difference between revisions of "Template:4DETeamBracket"

From comp.tf
Jump to navigation Jump to search
(4DETeamBracket)
 
 
(12 intermediate revisions by 3 users not shown)
Line 15: Line 15:
 
|team1literal={{{R1D1literal|}}}
 
|team1literal={{{R1D1literal|}}}
 
|team2literal={{{R1D2literal|}}}
 
|team2literal={{{R1D2literal|}}}
 +
|default={{#if:{{{R1D1default|}}}|1|{{#if:{{{R1D2default|}}}|2}}}}
 
|details={{{R1G1details|}}}
 
|details={{{R1G1details|}}}
 
}}</div>}}
 
}}</div>}}
Line 33: Line 34:
 
|team1literal={{{R1D3literal|}}}
 
|team1literal={{{R1D3literal|}}}
 
|team2literal={{{R1D4literal|}}}
 
|team2literal={{{R1D4literal|}}}
 +
|default={{#if:{{{R1D3default|}}}|1|{{#if:{{{R1D4default|}}}|2}}}}
 
|details={{{R1G2details|}}}
 
|details={{{R1G2details|}}}
 
}}</div>}}
 
}}</div>}}
Line 70: Line 72:
 
|team1literal={{{R2W1literal|}}}
 
|team1literal={{{R2W1literal|}}}
 
|team2literal={{{R2W2literal|}}}
 
|team2literal={{{R2W2literal|}}}
 +
|default={{#if:{{{R2W1default|}}}|1|{{#if:{{{R2W2default|}}}|2}}}}
 
|details={{{R2G1details|}}}
 
|details={{{R2G1details|}}}
 
}}</div>}}
 
}}</div>}}
Line 91: Line 94:
 
|team1literal={{{R1D5literal|}}}
 
|team1literal={{{R1D5literal|}}}
 
|team2literal={{{R1D6literal|}}}
 
|team2literal={{{R1D6literal|}}}
 +
|default={{#if:{{{R1D5default|}}}|1|{{#if:{{{R1D6default|}}}|2}}}}
 
|details={{{R1G3details|}}}
 
|details={{{R1G3details|}}}
 
}}</div>}}
 
}}</div>}}
Line 124: Line 128:
 
|team1literal={{{R2D1literal|}}}
 
|team1literal={{{R2D1literal|}}}
 
|team2literal={{{R2W3literal|}}}
 
|team2literal={{{R2W3literal|}}}
 +
|default={{#if:{{{R2D1default|}}}|1|{{#if:{{{R2W3default|}}}|2}}}}
 
|details={{{R2G2details|}}}
 
|details={{{R2G2details|}}}
 
}}</div>}}
 
}}</div>}}
Line 163: Line 168:
 
|team1literal={{{R3W1literal|}}}
 
|team1literal={{{R3W1literal|}}}
 
|team2literal={{{R3W2literal|}}}
 
|team2literal={{{R3W2literal|}}}
 +
|default={{#if:{{{R3W1default|}}}|1|{{#if:{{{R3W2default|}}}|2}}}}
 
|details={{{R3G1details|}}}
 
|details={{{R3G1details|}}}
 
}}</div>}}
 
}}</div>}}
Line 171: Line 177:
 
</div>
 
</div>
 
   </div>
 
   </div>
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></includeonly><noinclude>{{Documentation}}[[Category:Brackets]]
+
<div style="clear:left"> </div><div class="bracket-push"></div></div></div></includeonly><noinclude>{{Documentation}}[[Category:Brackets]][[Category:Source Liquipedia]]

Latest revision as of 13:50, 27 February 2017

(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


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=
 }}
}}

Credit to Liquipedia!