Difference between revisions of "Template:4TeamBracket-Tennis3-with third"
Jump to navigation
Jump to search
blackwiki>Frietjes (typo) |
blackwiki>Frietjes (update to use lua, will save old version in sandbox for comparison) |
||
Line 1: | Line 1: | ||
− | {| | + | {{#invoke: TeamBracket-Tennis | teamBracket |
− | | | + | | nowrap = y |
− | | | + | | rounds = 2 |
− | | | + | | sets = 3 |
− | | | + | | RD1 = {{{RD1|Semifinals}}} |
+ | | RD2 = {{{RD2|Final}}} | ||
+ | | team-width = {{{team-width|125}}} | ||
+ | | score-width = {{{score-width|12}}} | ||
+ | | RD1-seed1 = {{{RD1-seed1|}}} | ||
+ | | RD1-seed2 = {{{RD1-seed2|}}} | ||
+ | | RD1-seed3 = {{{RD1-seed3|}}} | ||
+ | | RD1-seed4 = {{{RD1-seed4|}}} | ||
− | |- | + | | RD2-seed1 = {{{RD2-seed1|}}} |
− | + | | RD2-seed2 = {{{RD2-seed2|}}} | |
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | + | | 3rd = {{{3rd|Bronze medal match}}} |
− | + | | 3rd-seed1 = {{{3rd-seed1|}}} | |
− | + | | 3rd-seed2 = {{{3rd-seed2|}}} | |
− | + | }}<noinclude> | |
− | + | {{documentation}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
</noinclude> | </noinclude> |
Revision as of 00:30, 18 April 2017
Semifinals | Final | ||||||||||||
Bronze medal match | |||||||||||||
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
, orRD1-shade1-1=#0FF
(which all give the same color - see Web colors#X11 color names).
See also
- Template:4TeamBracket-Tennis35
- Template:8TeamBracket-Tennis3-with third
- Template:8TeamBracket-Tennis35-with third
The above documentation is transcluded from Template:4TeamBracket-Tennis3-with third/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |