Template:4TeamBracket-Tennis3/sandbox
(Redirected from Template:4TeamBracket-Tennis3-v2/sandbox)
Semifinals | Final | |||||||||||
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:4TeamBracket-Tennis3 (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 9,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template generates a 4-team tournament bracket. It is designed for a four tennis player setup in a best of three set format. The code itself was taken from a subset of Template:16TeamBracket-Compact-Tennis3.
Usage
<syntaxhighlight lang="wikitext">
Semifinals | Finals | ||||||||||||
</syntaxhighlight>
Template parameters
- RD1, RD2 — [OPTIONAL] The names of each respective round. Defaults to "Semifinals" and "Final", respectively.
- score-width — The total width of all three 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:
{{4TeamBracket-Tennis3}}
can be replaced with{{#invoke:bracket|4TeamBracket-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}}
.