Template:Bracket

Template page
Revision as of 21:51, 4 May 2023 by Couchor (talk | contribs) (Created page with "<templatestyles src="Bracket.css" /> <templatestyles src="Match.css" /> <includeonly>{{#invoke:Bracket|main}}</includeonly><noinclude>{{Documentation}}Category:Templates</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation (view - edit)

Parameters:

Parameter Description
teams How many teams start in the bracket (upper bracket if double elim)
lteams How many teams start in the lower bracket. If it's double elimination, but all teams start in the upper bracket, then set this to 0
bestof Set the default "bestof" to be applied to all matches in the bracket
twitch Default twitch stream id to be set for all matches
youtube Default youtube channel to be set for all matches
ladvance Number of teams advancing from the first lower bracket round.

Only set this when the "lteams" value is set and is not 0 and ladvance > lteams / 2

So for example if there are 2 matches in the first lb round, but there are only lteams=2, then set ladvance=2

upper Call Template:Rounds to set the rounds/matches for the upper bracket (in case of single elim this is for the entire bracket)
lower Call Template:Rounds to set the rounds/matches for the lower bracket
final In case of a double elimination, that would be the Template:Match call for the info of the grand final

Example

{{Bracket
  |teams=8
  |lteams=0
  |bestof=3
  |twitch=dota2ti
  |youtube=dota2
  |upper={{Rounds}}
  |lower={{Rounds}}
  |final={{Match}}
}}

Will look something like this:

Bracket example.png

Ladvance example

{{Bracket
  |teams=4
  |lteams=2
  |ladvance=2
}}

Will look something like this:

Bracket ladvance example.png