Template:16TeamBracket/doc

From TetrisWiki
Jump to navigation Jump to search

Template:Lua

Usage

Template description

This template generates a generic 16-team (4-round) tournament bracket.

Complete set of blank template parameters

{{16TeamBracket 

| RD1         = 
| RD2         = 
| RD3         = 
| RD4         = 

| group1      =
| group2      = 
| group3      = 

| subgroup1   = 
| subgroup2   = 
| subgroup3   = 
| subgroup4   = 

| team-width  = 

| RD1-seed01  =
| RD1-team01  = 
| RD1-score01 =
| RD1-seed02  =
| RD1-team02  =
| RD1-score02 =

| RD1-seed03  =
| RD1-team03  =
| RD1-score03 =
| RD1-seed04  =
| RD1-team04  =
| RD1-score04 =

| RD1-seed05  =
| RD1-team05  =
| RD1-score05 =
| RD1-seed06  =
| RD1-team06  =
| RD1-score06 =

| RD1-seed07  =
| RD1-team07  =
| RD1-score07 =
| RD1-seed08  =
| RD1-team08  =
| RD1-score08 =

| RD1-seed09  =
| RD1-team09  =
| RD1-score09 =
| RD1-seed10  =
| RD1-team10  =
| RD1-score10 =

| RD1-seed11  =
| RD1-team11  =
| RD1-score11 =
| RD1-seed12  =
| RD1-team12  =
| RD1-score12 =

| RD1-seed13  =
| RD1-team13  =
| RD1-score13 =
| RD1-seed14  =
| RD1-team14  =
| RD1-score14 =

| RD1-seed15  =
| RD1-team15  =
| RD1-score15 =
| RD1-seed16  =
| RD1-team16  =
| RD1-score16 =

| RD2-seed01  =
| RD2-team01  =
| RD2-score01 =
| RD2-seed02  =
| RD2-team02  =
| RD2-score02 =

| RD2-seed03  =
| RD2-team03  =
| RD2-score03 =
| RD2-seed04  =
| RD2-team04  =
| RD2-score04 =

| RD2-seed05  =
| RD2-team05  =
| RD2-score05 =
| RD2-seed06  =
| RD2-team06  =
| RD2-score06 =

| RD2-seed07  =
| RD2-team07  =
| RD2-score07 =
| RD2-seed08  =
| RD2-team08  =
| RD2-score08 =

| RD3-seed01  =
| RD3-team01  =
| RD3-score01 =
| RD3-seed02  =
| RD3-team02  =
| RD3-score02 =

| RD3-seed03  =
| RD3-team03  =
| RD3-score03 =
| RD3-seed04  =
| RD3-team04  =
| RD3-score04 =

| RD4-seed01  =
| RD4-team01  =
| RD4-score01 =
| RD4-seed02  =
| RD4-team02  =
| RD4-score02 =
}}

Parameter definitions

  • team-width – [OPTIONAL] sets the width of the team name fields (150 by default).
  • RD1, RD2, RD3, RD4 – [OPTIONAL] The names of each round. Defaults are "First round", "Second round", "Semifinals", and "Finals", respectively.
  • group1, group2 – [OPTIONAL] The name of the first and second of two groups of eight first-round teams, respectively.
  • group3 – [OPTIONAL] Name to be placed in the middle of the second round column (between the second and third of four groups of two second-round teams). It's not clear what this could be used for (or whether it is actually used anywhere).
  • subgroup1, subgroup2, subgroup3, subgroup4 – [OPTIONAL] The names of the first, second, third, and fourth of four groups of four first-round teams, respectively.
  • Each team takes three [OPTIONAL] parameters – the seed, team name, and score. The parameter names are of the form RDn-xxxxtt, where:
    • n is the round number (14)
    • xxxx is one of seed, team, or score
    • tt is the zero-padded position within the round, counting from top to bottom (0116)

There are 16 first-round teams, 8 second-round teams, 4 third-round (semifinals) teams, and 2 fourth-round (finals) teams.

See also