This template generates a 4-team tournament bracket. It is designed for a four player setup with 3rd place play-off, in a best of five set format in all matches. The code itself was reduced from Template:4TeamBracket-Tennis7-with 3rd.

Usage

edit
{{4TeamBracket-Tennis5-with 3rd
| RD1=
| RD2=
| 3rd=

| seeds=<!-- yes or no or blank -->
| score-width=
| team-width=

| RD1-seed1=
| RD1-team1=
| RD1-score1-1=
| RD1-score1-2=
| RD1-score1-3=
| RD1-score1-4=
| RD1-score1-5=
| RD1-seed2=
| RD1-team2=
| RD1-score2-1=
| RD1-score2-2=
| RD1-score2-3=
| RD1-score2-4=
| RD1-score2-5=

| RD1-seed3=
| RD1-team3=
| RD1-score3-1=
| RD1-score3-2=
| RD1-score3-3=
| RD1-score3-4=
| RD1-score3-5=
| RD1-seed4=
| RD1-team4=
| RD1-score4-1=
| RD1-score4-2=
| RD1-score4-3=
| RD1-score4-4=
| RD1-score4-5=

| RD2-seed1=
| RD2-team1=
| RD2-score1-1=
| RD2-score1-2=
| RD2-score1-3=
| RD2-score1-4=
| RD2-score1-5=
| RD2-seed2=
| RD2-team2=
| RD2-score2-1=
| RD2-score2-2=
| RD2-score2-3=
| RD2-score2-4=
| RD2-score2-5=

| RD2-seed3=
| RD2-team3=
| RD2-score3-1=
| RD2-score3-2=
| RD2-score3-3=
| RD2-score3-4=
| RD2-score3-5=
| RD2-seed4=
| RD2-team4=
| RD2-score4-1=
| RD2-score4-2=
| RD2-score4-3=
| RD2-score4-4=
| RD2-score4-5=
}}

Template parameters

edit
  • RD1, RD2, 3rd — [OPTIONAL] The names of each respective round. Defaults to "Semifinals", "Final", "Third place" respectively.
  • score-width — The width of each of the five set boxes for each match (default 12)
  • team-width — The width of the boxes in which the player names are displayed (default 150)
  • seeds=no — [OPTIONAL] The seeding boxes — the '1', '4', '2', '3' at the left — are not displayed

See also

edit