Template:4TeamBracket-Tennis3/sandbox
Appearance
Semifinals | Final | |||||||||||
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,400 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
[edit]{{4TeamBracket-Tennis3
| RD1=
| RD2=
| score-width=
| RD1-seed1=
| RD1-team1=
| RD1-score1-1=
| RD1-score1-2=
| RD1-score1-3=
| RD1-seed2=
| RD1-team2=
| RD1-score2-1=
| RD1-score2-2=
| RD1-score2-3=
| RD1-seed3=
| RD1-team3=
| RD1-score3-1=
| RD1-score3-2=
| RD1-score3-3=
| RD1-seed4=
| RD1-team4=
| RD1-score4-1=
| RD1-score4-2=
| RD1-score4-3=
| RD2-seed1=
| RD2-team1=
| RD2-score1-1=
| RD2-score1-2=
| RD2-score1-3=
| RD2-seed2=
| RD2-team2=
| RD2-score2-1=
| RD2-score2-2=
| RD2-score2-3=
}}
Template parameters
[edit]- 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
[edit]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}}
.