Difference between revisions of "Template:4TeamBracket-Tennis3-v2"
Jump to navigation
Jump to search
blackwiki>Frietjes |
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|150}}} |
| − | + | | score-width = {{{score-width|12}}} | |
| − | + | | RD1-seed1 = {{if empty|{{{RD1-seed1|}}}| }} | |
| − | + | | RD1-seed2 = {{if empty|{{{RD1-seed2|}}}| }} | |
| − | | | + | | RD1-seed3 = {{if empty|{{{RD1-seed3|}}}| }} |
| − | | | + | | RD1-seed4 = {{if empty|{{{RD1-seed4|}}}| }} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | | RD2-seed1 = {{if empty|{{{RD2-seed1|}}}| }} | ||
| + | | RD2-seed2 = {{if empty|{{{RD2-seed2|}}}| }} | ||
| + | }}{{#if:{{{RD1-seed1}}}{{{RD1-seed2}}}||[[Category:Pages using tennis bracket with no seeds]]}}{{#if:{{{RD1-seed3}}}{{{RD1-seed4}}}||[[Category:Pages using tennis bracket with no seeds]]}}{{#if:{{{RD2-seed1}}}{{{RD2-seed2}}}||[[Category:Pages using tennis bracket with no seeds]]}}<noinclude> | ||
| + | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 14:59, 14 April 2017
| Semifinals | Final | ||||||||||||
| Script error: No such module "If empty". | |||||||||||||
| Script error: No such module "If empty". | |||||||||||||
| Script error: No such module "If empty". | |||||||||||||
| Script error: No such module "If empty". | |||||||||||||
| Script error: No such module "If empty". | |||||||||||||
| Script error: No such module "If empty". | |||||||||||||
This template generates a 4-team tournament bracket. It is designed for a four tennis player setup in a best of three set format. The code itself was taken from a subset of Template:16TeamBracket-Compact-Tennis3.
Usage
{{4TeamBracket-Tennis3
| RD1=
| RD2=
| score-width=
| RD1-seed1=
| RD1-team1=
| RD1-score1-1=
| 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=
}}
Template parameters
- RD1, RD2 — [OPTIONAL] The names of each respective round. Defaults to "Semifinals" and "Finals", respectively.
- score-width — The total width of all three sets for each match
See also
- Template:4TeamBracket-Tennis5
- Template:8TeamBracket-Tennis5
- Template:16TeamBracket-Compact-Tennis3
- Template:16TeamBracket-Compact-Tennis5
- Template:16TeamBracket
- Template:16TeamBracket-Compact
| The above documentation is transcluded from Template:4TeamBracket-Tennis3-v2/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. |