Difference between revisions of "Template:4TeamBracket-Tennis3-with third/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Keith Edkins
(Document 3rd parameter)
blackwiki>Keith Edkins
(Document shade parameters)
Line 14: Line 14:
 
| RD1-team1=
 
| RD1-team1=
 
| RD1-score1-1=
 
| RD1-score1-1=
 +
| RD1-shade1-1=                                  <!-- etc. -->
 
| RD1-score1-2=
 
| RD1-score1-2=
 
| RD1-score1-3=
 
| RD1-score1-3=
Line 60: Line 61:
 
*'''RD1, RD2, 3rd''' &mdash; [OPTIONAL] The names of each respective round. Defaults to "Semifinals", "Finals" and "Bronze medal match", respectively.
 
*'''RD1, RD2, 3rd''' &mdash; [OPTIONAL] The names of each respective round. Defaults to "Semifinals", "Finals" and "Bronze medal match", respectively.
 
*'''score-width''' &mdash; The total width of all three sets for each match
 
*'''score-width''' &mdash; The total width of all three sets for each match
 +
*'''shade''' parameters set the background color of a score box and can be used to highlight winning or losing set scores. E.g. <code>RD1-shade1-1=aqua</code>, <code>RD1-shade1-1=#00FFFF</code>, or <code>RD1-shade1-1=#0FF</code> (which all give the same color - see [[Web colors#X11 color names]]).
  
 
==See also==
 
==See also==

Revision as of 12:22, 27 October 2012

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.

Code

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

| 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

  • RD1, RD2, 3rd — [OPTIONAL] The names of each respective round. Defaults to "Semifinals", "Finals" and "Bronze medal match", respectively.
  • score-width — The total width of all three sets for each match
  • 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