Difference between revisions of "Template:4TeamBracket-Tennis5-with 3rd/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
blackwiki>Keith Edkins
(Document "seeds" parameter and other improvements)
Line 9: Line 9:
 
| 3rd=
 
| 3rd=
  
 +
| seeds=
 
| score-width=
 
| score-width=
 
| team-width=
 
| team-width=
Line 75: Line 76:
  
 
==Template parameters==
 
==Template parameters==
*'''RD1, RD2''' — [OPTIONAL] The names of each respective round. Defaults to "Semifinals" and "Finals", respectively.
+
*'''RD1, RD2, 3rd''' — [OPTIONAL] The names of each respective round. Defaults to "Semifinals", "Final", "Third place" respectively.
*'''score-width''' — The total width of all three sets for each match
+
*'''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==
 
==See also==

Revision as of 20:41, 21 April 2017

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

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

| seeds=
| 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

  • 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