Category talk:TeamBracket-Tennis/doc
Jump to navigation
Jump to search
This template is used on 14,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes at Wikipedia talk:High-risk templates before implementing them.
Transclusion count updated automatically (see documentation). |
Error: {{Module rating}} must be placed in the Module namespace.
This template implements a variant of Module:TeamBracket for tennis tournaments. It is a generic visual representation of the tournament bracket. For common usage, use the templates in Category:Tennis tournament bracket templates.
Usage
{{#invoke: TeamBracket-Tennis | teamBracket | rounds = | sets = | seeds = <!-- yes / no / or blank --> | compact = <!-- yes / no / or blank --> | nowrap = <!-- yes / no / or blank --> | seed-width = | team-width = | score-width = | RD1 = | RD1-seed1 = | RD1-team1 = | RD1-score1-1 = | RD1-score1-2 = | RD1-score1-3 = }}
Parameter list
The parameters are as follows:
seed-width –
the width of the cells for seeds.team-width –
the width of the cells for team names.score-width –
the width of the cells for scores.compact –
set toyes
for compact formatseeds –
set tono
to omit seed cells, andyes
to always show seed cellsnowrap –
set toyes
to prevent lines from wrappingbyes –
set to1
,2
, ... to specify the maximum round number with byesheadings –
set tono
to omit the column headings
RDn –
The name of round n.RDn-seedm –
The seed of team m in round n.RDn-teamm –
The name of team m in round n.RDn-scorem-s –
The score of set s for team m in round n.RDn-groupm –
Label for the mth group in round n.
Examples
{{#invoke: TeamBracket-Tennis | teamBracket | rounds = 2 | sets = 3 | RD1-seed1 = '''1''' | RD1-seed2 = 4 | RD1-team1 = '''John''' | RD1-team2 = Declan | RD1-score1-1 = '''6''' | RD1-score2-1 = 0 | RD1-score1-2 = 3 | RD1-score2-2 = '''6''' | RD1-score1-3 = '''7''' | RD1-score2-3 = 6 | RD1-seed3 = 2 | RD1-seed4 = 3 | RD1-team3 = Barry | RD1-team4 = Steve | RD2-seed1 = 1 | RD2-team1 = John }}
Semifinals | Finals | ||||||||||||
1 | John | 6 | 3 | 7 | |||||||||
4 | Declan | 0 | 6 | 6 | |||||||||
1 | John | ||||||||||||
2 | Barry | ||||||||||||
3 | Steve | ||||||||||||
Templates using this module
- {{2TeamBracket-Tennis3}}
- {{2TeamBracket-Tennis5}}
- {{2TeamBracket-Tennis7}}
- {{2TeamBracket-Tennis9}}
- {{2TeamBracket-Compact-Tennis3}}
- {{2TeamBracket-Compact-Tennis5}}
- {{4TeamBracket-Tennis3}}
- {{4TeamBracket-Tennis5}}
- {{4TeamBracket-Tennis35}}
- {{4TeamBracket-Tennis3-with third}}
- {{4TeamBracket-Tennis35-with third}}
- {{4TeamBracket-Tennis5-with 3rd}}
- {{4TeamBracket-Tennis7-with 3rd}}
- {{4TeamBracket-Compact-Tennis3}}
- {{4TeamBracket-Compact-Tennis7}}
- {{8TeamBracket-Tennis3}}
- {{8TeamBracket-Tennis5}}
- {{8TeamBracket-Tennis35}}
- {{8TeamBracket-Tennis353}}
- {{8TeamBracket-Tennis355}}
- {{8TeamBracket-Tennis3-with third}}
- {{8TeamBracket-Tennis5-with third}}
- {{8TeamBracket-Tennis35-with third}}
- {{8TeamBracket-Compact-Tennis7}}
- {{16TeamBracket-Tennis3}}
- {{16TeamBracket-Tennis5}}
- {{16TeamBracket-Tennis5777}}
- {{16TeamBracket-Compact-Tennis3}}
- {{16TeamBracket-Compact-Tennis5}}
- {{16TeamBracket-Compact-Tennis35}}
- {{16TeamBracket-Compact-Tennis7}}
- {{16TeamBracket-Compact-Tennis3355}}
- {{16TeamBracket-Compact-Tennis3555}}
- {{16TeamBracket-Compact-Tennis3-with 3rd}}
- {{16TeamBracket-Compact-Tennis7-with 3rd}}
- {{32TeamBracket-Tennis3}}
- {{32TeamBracket-Tennis5}}