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

From blackwiki
Jump to navigation Jump to search
blackwiki>Spyder Monkey
(Created page with '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 5-s...')
 
m (15 revisions imported)
 
(14 intermediate revisions by 11 users not shown)
Line 1: Line 1:
This template generates a 4-team [[Bracket (tournament)|tournament bracket]]. It is designed for a four tennis player setup in a best of three set format with a 5-set final.
+
{{Documentation subpage}}
 +
This template generates a 4-team [[Bracket (tournament)|tournament bracket]]. It is designed for a four tennis player setup in a best of three set format with a 3rd-place playoff.
  
==Code==
+
==Usage==
 
<pre>
 
<pre>
{{4TeamBracket-Tennis35-with third
+
{{4TeamBracket-Tennis3-with third
 
| RD1=
 
| RD1=
 
| RD2=
 
| RD2=
 +
| 3rd=
  
 +
| team-width=
 
| score-width=
 
| score-width=
  
Line 12: Line 15:
 
| 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 56: Line 60:
  
 
==Parameters==
 
==Parameters==
*'''RD1, RD2''' &mdash; [OPTIONAL] The names of each respective round. Defaults to "Semifinals" and "Finals", 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
+
*'''team-width''' &mdash; The width of the team cell (in pixels)
 +
*'''score-width''' &mdash; 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. <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==
Line 63: Line 69:
 
*[[Template:8TeamBracket-Tennis3-with third]]
 
*[[Template:8TeamBracket-Tennis3-with third]]
 
*[[Template:8TeamBracket-Tennis35-with third]]
 
*[[Template:8TeamBracket-Tennis35-with third]]
 +
 +
<includeonly>{{basepage subpage|<!-- ADD CATEGORIES BELOW THIS LINE -->
 +
[[Category:4-Team bracket templates]]
 +
[[Category:Tennis tournament bracket templates]]
 +
}}</includeonly>

Latest revision as of 14:55, 14 October 2020

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

{{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

  • 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