Template:16TeamBracket-Compact-Squash5/sandbox
1st round | 2nd round | Semifinals | Finals | ||||||||||||||||||||||||||||||
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:16TeamBracket-Compact-Squash5 (diff). |
This template generates a generic 16-team tournament bracket. It is designed to minimize the use of vertical space.
Usage
<syntaxhighlight lang="wikitext">
Round of 16 | Quarterfinals | Semifinals | Finals | ||||||||||||||||||||||||||||||||
</syntaxhighlight>
Optional third place match
<syntaxhighlight lang="wikitext"> | 3rd = Third place | 3rd-seed01= | 3rd-team01= | 3rd-score01-1= | 3rd-score01-2= | 3rd-score01-3= | 3rd-score01-4= | 3rd-score01-5= | 3rd-seed02= | 3rd-team02= | 3rd-score02-1= | 3rd-score02-2= | 3rd-score02-3= | 3rd-score02-4= | 3rd-score02-5= </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
- byes — set to
1
for first round byes
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:
- In most cases, the name of the bracket template can be used as the function name for {{#invoke:Bracket|function}}, e.g.
{{16TeamBracket-Compact-Tennis3}}
→{{#invoke:bracket|16TeamBracket-Compact-Tennis3}}
. - 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}}
.