Difference between revisions of "Template:4TeamBracket-Tennis5-with 3rd"
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 = {{{nowrap|y}}} |
| − | | | + | | rounds = 2 |
| − | | | + | | sets = 5 |
| − | | | + | | RD1 = {{{RD1|Semifinals}}} |
| − | | | + | | RD2 = {{{RD2|Final}}} |
| + | | team-width = {{{team-width|150}}} | ||
| + | | score-width = {{{score-width|12}}} | ||
| − | |- | + | | RD1-seed1 = {{if empty|{{{RD1-seed01|1}}}| }} |
| − | + | | RD1-seed2 = {{if empty|{{{RD1-seed02|4}}}| }} | |
| − | + | | RD1-seed3 = {{if empty|{{{RD1-seed03|2}}}| }} | |
| − | + | | RD1-seed4 = {{if empty|{{{RD1-seed04|3}}}| }} | |
| − | | | ||
| − | |||
| − | | | ||
| − | |||
| − | | | ||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |- | + | | RD2-seed1 = {{if empty|{{{RD2-seed01|}}}| }} |
| − | + | | RD2-seed2 = {{if empty|{{{RD2-seed02|}}}| }} | |
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | + | | 3rd = {{{RD3|Third place}}} |
| − | + | | 3rd-seed1 = {{if empty|{{{RD3-seed01|}}}| }} | |
| − | | | + | | 3rd-team1 = {{{RD3-team01|}}} |
| − | + | | 3rd-score1-1 = {{{RD3-score01-1|}}} | |
| − | + | | 3rd-score1-2 = {{{RD3-score01-2|}}} | |
| − | | | + | | 3rd-score1-3 = {{{RD3-score01-3|}}} |
| − | | | + | | 3rd-score1-4 = {{{RD3-score01-4|}}} |
| − | | | + | | 3rd-score1-5 = {{{RD3-score01-5|}}} |
| − | | | ||
| − | | | ||
| − | | | ||
| − | |- | + | | 3rd-team2 = {{{RD3-team02|}}} |
| − | + | | 3rd-seed2 = {{if empty|{{{RD3-seed02|}}}| }} | |
| − | + | | 3rd-score2-1 = {{{RD3-score02-1|}}} | |
| − | + | | 3rd-score2-2 = {{{RD3-score02-2|}}} | |
| − | + | | 3rd-score2-3 = {{{RD3-score02-3|}}} | |
| − | + | | 3rd-score2-4 = {{{RD3-score02-4|}}} | |
| − | | | + | | 3rd-score2-5 = {{{RD3-score02-5|}}} |
| − | + | }}<noinclude> | |
| − | + | {{documentation}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 17:01, 18 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". | Third place | ||||||||||||||||
| 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 player setup with 3rd place play-off, in a best of five set format in all matches. The code itself was reduced from Template:4TeamBracket-Tennis7-with 3rd.
Usage
{{4TeamBracket-Tennis5-with 3rd
| RD1=
| RD2=
| 3rd=
| seeds=<!-- yes or no or blank -->
| score-width=
| team-width=
| RD1-seed1=
| RD1-team1=
| RD1-score1-1=
| RD1-score1-2=
| RD1-score1-3=
| RD1-score1-4=
| RD1-score1-5=
| RD1-seed2=
| RD1-team2=
| RD1-score2-1=
| RD1-score2-2=
| RD1-score2-3=
| RD1-score2-4=
| RD1-score2-5=
| RD1-seed3=
| RD1-team3=
| RD1-score3-1=
| RD1-score3-2=
| RD1-score3-3=
| RD1-score3-4=
| RD1-score3-5=
| RD1-seed4=
| RD1-team4=
| RD1-score4-1=
| RD1-score4-2=
| RD1-score4-3=
| RD1-score4-4=
| RD1-score4-5=
| RD2-seed1=
| RD2-team1=
| RD2-score1-1=
| RD2-score1-2=
| RD2-score1-3=
| RD2-score1-4=
| RD2-score1-5=
| RD2-seed2=
| RD2-team2=
| RD2-score2-1=
| RD2-score2-2=
| RD2-score2-3=
| RD2-score2-4=
| RD2-score2-5=
| RD2-seed3=
| RD2-team3=
| RD2-score3-1=
| RD2-score3-2=
| RD2-score3-3=
| RD2-score3-4=
| RD2-score3-5=
| RD2-seed4=
| RD2-team4=
| RD2-score4-1=
| RD2-score4-2=
| RD2-score4-3=
| RD2-score4-4=
| RD2-score4-5=
}}
Template parameters
- RD1, RD2, 3rd — [OPTIONAL] The names of each respective round. Defaults to "Semifinals", "Final", "Third place" respectively.
- score-width — The width of each of the five set boxes for each match (default 12)
- team-width — The width of the boxes in which the player names are displayed (default 150)
- seeds=no — [OPTIONAL] The seeding boxes — the '1', '4', '2', '3' at the left — are not displayed
See also
- Template:4TeamBracket-with 3rd
- Template:4TeamBracket-Compact-Tennis3
- Template:4TeamBracket-Tennis7-with 3rd
| The above documentation is transcluded from Template:4TeamBracket-Tennis5-with 3rd/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. |