This module is being considered for merging with Module:RoundN. Please discuss this matter at this module's entry at templates for discussion to help reach a consensus.
the width of the cells for seeds. Plain numbers are assumed to be in px units (e.g., 25 or 25px 2em for 2em or auto for automatic width sizing)
team-width
the width of the cells for team names. Plain numbers are assumed to be in px units (e.g., 200 for 200px or 15em for 15em or auto for automatic width sizing)
score-width
the width of the cells for scores. Plain numbers are assumed to be in px units (e.g., 25 or 25px 2em for 2em or auto for automatic width sizing)
compact
set to yes for compact bracket and to disable groups.
seeds
set to no to omit seed cells, and yes to always show seed cells
sets or legs
the number of sets/legs in each round of matches (delimit with / for different numbers of sets or legs per round)
nowrap
set to yes to prevent lines from wrapping
byes
set to 1, 2, ... to specify the maximum round number with byes
boldwinner
set to high to automatically bold the seed/team/scores for the team with the highest score, and low for the lowest score
hideomittedscores
set to 1 to hide all omitted score cells. To only omit score cells from the second set or leg onwards, use 2
sepwidth
set to 1 or 2 to override the default separator width
headings
set to no to omit the column headings
RDn
The name of round n. Defaults are "Round of m", ..., "Quarterfinals", "Semifinals", and "Finals", where m is the number of teams in the round.
RDn-groupm
The name of group m in round n. For each round, every set of four teams is classified as a group.
RDn-seedm
The seed of team m in round n. For round 1, this value defaults to the conventional seed allocation for tournaments. If omitted, the cell is hidden. To hide seeds for round 1, the value must be explicitly set to be empty. m is the zero-padded position.
RDn-teamm
The name of team m in round n.
RDn-scorem
The score of team m in round n.
RDn-scorem-s
The score of team m in round n and set s (or leg for multileg matches).
RD1-omit
Selectively omit teams from the first round. For example, use 1 / 2 / 5 / 6 to omit team1, team2, team5, and team6 from the first round.
RD-shade
Background color for the RDn headings
RDn-shadem
Background coloring for team m in round n.
Examples
No seeds
{{#invoke: Team bracket | main
| rounds = 2
| seeds = no
}}
Semifinals
Finals
Groups
{{#invoke: Team bracket | main
| autoseeds = y
| rounds = 3
| RD1-group1 = Pacific
| RD1-group2 = Mountain
| RD2-group1 = West
}}
Quarterfinals
Semifinals
Finals
1
8
Pacific
5
4
West
3
6
Mountain
7
2
Tennis
{{#invoke: Team bracket | main
| autoseeds = y
| rounds = 3
| sets = 3 / 5 / 5
}}