8TeamBracket/doc

From blackwiki
Revision as of 10:49, 27 June 2018 by blackwiki>Paperfish122 (→‎Usage)
Jump to navigation Jump to search

Usage

Template description

This template generates a generic 8-team (3-round) tournament bracket.

Complete set of blank template parameters

{{8TeamBracket 

| RD1         = Quarter-final
| RD2         = Semi-final
| RD3         = Final

| group1      = Serbia
| group2      = Iceland
| group3      = Norway

| seed-width  = 1
| team-width  = 1
| score-width = 3

| RD1-seed1  = Iceland
| RD1-team1  = ISL
| RD1-score1 = 3
| RD1-seed2  = Sweden
| RD1-team2  = SWE
| RD1-score2 = 1

| RD1-seed3  = Serbia
| RD1-team3  = SRB
| RD1-score3 = 2 (a.e.t)
| RD1-seed4  = Austria
| RD1-team4  = AUT
| RD1-score4 = 2

| RD1-seed5  = Hungary
| RD1-team5  = HUN
| RD1-score5 = 0
| RD1-seed6  = Spain
| RD1-team6  = ESP
| RD1-score6 = 3

| RD1-seed7  = Greece
| RD1-team7  = GRE
| RD1-score7 = 1
| RD1-seed8  = Portugal
| RD1-team8  = POR
| RD1-score8 = 5

| RD2-seed1  = Iceland
| RD2-team1  = ISL
| RD2-score1 = 1
| RD2-seed2  = Serbia
| RD2-team2  = SRB
| RD2-score2 = 4

| RD2-seed3  = Spain
| RD2-team3  = ESP
| RD2-score3 = 2
| RD2-seed4  = Portugal
| RD2-team4  = POR
| RD2-score4 = 1

| RD3-seed1  = Serbia
| RD3-team1  = SRB
| RD3-score1 = 3
| RD3-seed2  = Spain
| RD3-team2  = ESP
| RD3-score2 = 0
}}

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 (125 by default).
  • score-width – [OPTIONAL] sets the width of the score fields (20 by default).
  • RD1, RD2, RD3 – [OPTIONAL] The names of each round. Defaults are "Quarterfinals", "Semifinals", and "Finals", respectively.
  • group1, group2 – [OPTIONAL] The name of the first and second of two groups of four first-round teams, respectively.
  • group3 – [OPTIONAL] Name to be placed in the middle of the first 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).
  • 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 (13)
    • xxxx is one of seed, team, or score
    • t is the position within the round, counting from top to bottom (18)

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

See also