Jump to content

Template:4TeamBracket-Tennis3-with third/doc

From Wikipedia, the free encyclopedia

This template generates a 4-team tournament bracket. It is designed for a four tennis player setup in a best of three set format with a 3rd-place playoff.

Usage

[edit]
{{4TeamBracket-Tennis3-with third
| RD1=
| RD2=
| 3rd=

| team-width=
| score-width=

| RD1-seed1=
| RD1-team1=
| RD1-score1-1=
| RD1-shade1-1=                                   <!-- etc. -->
| 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=

| 3rd-seed1=
| 3rd-team1=
| 3rd-score1-1=
| 3rd-score1-2=
| 3rd-score1-3=
| 3rd-seed2=
| 3rd-team2=
| 3rd-score2-1=
| 3rd-score2-2=
| 3rd-score2-3=
}}

Parameters

[edit]
  • RD1, RD2, 3rd — [OPTIONAL] The names of each respective round. Defaults to "Semifinals", "Finals" and "Bronze medal match", respectively.
  • team-width — The width of the team cell (in pixels)
  • score-width — The width for each of the three sets (in pixels)
  • shade parameters set the background color of a score box and can be used to highlight winning or losing set scores. E.g. RD1-shade1-1=aqua, RD1-shade1-1=#00FFFF, or RD1-shade1-1=#0FF (which all give the same color - see Web colors#X11 color names).

See also

[edit]