Template:4TeamBracket
| Semi-finals | Final | ||||||
|
|
This template uses Module:TeamBracket, a script written in the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. |
Usage
Template description
This template generates a generic 4-team (2-round) tournament bracket.
Complete set of blank template parameters
{{4TeamBracket
| RD1 =
| RD2 =
| 1 =
| 6 =
| 11 =
| 2 =
| 3 =
| 4 =
| 5 =
| 7 =
| 8 =
| 9 =
| 10 =
| 12 =
| 13 =
| 14 =
| 15 =
}}
Parameter definitions
- seed-width – [OPTIONAL] sets the width of the seed fields (25 by default).
- team-width – [OPTIONAL] sets the width of the team name fields (150 by default).
- score-width – [OPTIONAL] sets the width of the score fields (25 by default).
- RD1, RD2 – [OPTIONAL] The names of each round. Defaults are "Semi-finals" and "Finals", respectively.
- Each team takes three [OPTIONAL] parameters – the seed, team name, and score. The parameter names are of the form RDn-xxxxt, where:
- n is the round number (1–2)
- xxxx is one of seed, team, or score
- t is the position within the round, counting from top to bottom (1–4)
There are 4 first-round (semifinals) teams and 2 second-round (finals) teams.
Example
| Duels | Qualifiers | ||||||
| Duel 1 | |||||||
| Behrang Miri "Jalla Dansa Sawa" |
82,896 | ||||||
| Anton Ewald "Begging" |
105,890 | ||||||
| Results | |||||||
| Anton Ewald "Begging" |
Final | ||||||
| Robin Stjernberg "You" |
Final | ||||||
| Duel 2 | |||||||
| Robin Stjernberg "You" |
98,105 | ||||||
| Martin Rolinski "In and Out of Love" |
95,930 | ||||||
| The above documentation is transcluded from Template:4TeamBracket/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |