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

From blackwiki
Jump to navigation Jump to search
blackwiki>Magioladitis
m (→‎See also: Remove unicode control characters (CHECKWIKI error 16), removed: ‎ using AWB (8786))
m (15 revisions imported)
 
(5 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
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.
 
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-Tennis3-with third
 
{{4TeamBracket-Tennis3-with third
Line 9: Line 9:
 
| 3rd=
 
| 3rd=
  
 +
| team-width=
 
| score-width=
 
| score-width=
  
Line 60: Line 61:
 
==Parameters==
 
==Parameters==
 
*'''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
+
*'''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]]).
 
*'''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]]).
  
Line 68: Line 70:
 
*[[Template:8TeamBracket-Tennis35-with third]]
 
*[[Template:8TeamBracket-Tennis35-with third]]
  
<includeonly>
+
<includeonly>{{basepage subpage|<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
[[Category:4-Team bracket templates]]
 
+
[[Category:Tennis tournament bracket templates]]
[[Category:4-Team bracket templates|{{PAGENAME}}]]
+
}}</includeonly>
[[Category:Tennis tournament bracket templates|{{PAGENAME}}]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
[[de:Vorlage:Turnierplan4-mit-3]]
 
[[fr:Modèle:Tableau Coupe 4 (3 sets)]]
 
[[id:Templat:4TeamBracket-Tennis3-with third]]
 
[[lv:Veidne:4TeamBracket-Tennis35-with third]]
 
</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