Template:16TeamBracket-Compact-Tennis5-Byes/sandbox
First round | Second round | Semifinals | Final | ||||||||||||||||||||||||||||||||
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:16TeamBracket-Compact-Tennis5-Byes (diff). |
This template generates a generic 16-team tournament bracket. It is designed to minimize the use of vertical space. If a first-round team is missing, its spot will be omitted. This allows the proper presentation of byes.
Usage
<syntaxhighlight lang="wikitext">
Round of 16 | Quarterfinals | Semifinals | Finals | ||||||||||||||||||||||||||||||||
</syntaxhighlight>
Template parameters
- RD1, RD2, RD3, RD4 — [OPTIONAL] The names of each respective round. Defaults to "First round", "Quarterfinals", "Semifinals", and "Final", respectively.
- score-width — The total width of all five sets for each match
Alternatives to avoid Wikipedia's Post-expand include size limit
Pages with many brackets or large brackets, especially those containing flag icons, may come close to or exceed Wikipedia's Post-expand include size limit. In these cases consider using modules directly instead:
{{16TeamBracket-Compact-Tennis5-Byes}}
can be replaced with{{#invoke:bracket|16TeamBracket-Compact-Tennis5-Byes}}
.- In most cases, flag templates can be replaced with {{#invoke:flag|function}}, e.g.
{{flag|CAN}}
→{{#invoke:flag||CAN}}
or{{flag athlete|CAN}}
→{{#invoke:flag|athlete|CAN}}
.