Template:16TeamBracket-Compact-NoSeeds-Byes/doc
![]() | This is a documentation subpage for Template:16TeamBracket-Compact-NoSeeds-Byes. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
This template generates a generic 16-team tournament bracket. It is designed to minimize the use of vertical space. It also allows the use of a third-place playoff; to display the third-place match, the parameter "RD4b" must be non-blank.
Despite its name, this bracket does give the option of having seeds. Seeds can be generated on a team-by-team basis; if you want a box for a seed, use the RDX-seedZ=
parameter and put something in it (a blank box can be generated with RDX-seedZ=
). If you omit the parameter or leave it blank, the box will not appear.
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 "Round of 16", "Quarterfinals", "Semifinals", and "Final", respectively.
- RD4b — [OPTIONAL] The name of the third place round. If this parameter is not used, the third-place match will not appear.
- team-width — [OPTIONAL] The width (in pixels) of the team field for each game/match. This allows for longer player or team names. Defaults to 125 pixels.
- score-width — [OPTIONAL] The width (in pixels) of the score field for each game/match. This is useful if you need room for complex scores (e.g. Tennis). Defaults to 25 pixels.
- score-align — [OPTIONAL] left or right will override the usual centered alignment of the scores
- The rest of the parameters fill in the bracket and consists of the form X-YZ where
- X is the specific round
- Y is either the team's seed, name, or score
- Z is the specific placement on the bracket, counting from top to bottom.
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-NoSeeds-Byes}}
can be replaced with{{#invoke:bracket|16TeamBracket-Compact-NoSeeds-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}}
.
See also
- Template:4TeamBracket-Compact-NoSeeds-Byes
- Template:8TeamBracket-Compact-NoSeeds-Byes
- Template:32TeamBracket-Compact-NoSeeds-Byes