Template:8TeamBracket

From MicrasWiki
Jump to navigationJump to search
  Quarter-finals Semi-finals Final
                           
  1       
8       
         
         
4     
  5       
          
        
  3       
6       
        
          
2     
  7       
[edit] [purge] Template documentation

Template:Lua

Usage

Template description

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

Complete set of blank template parameters

{{8TeamBracket 

| RD1         = 
| RD2         = 
| RD3         = 

| group1      =
| group2      = 

| seed-width  = 
| team-width  = 
| score-width = 

| RD1-seed1  = 
| RD1-team1  = 
| RD1-score1 =
| RD1-seed2  = 
| RD1-team2  = 
| RD1-score2 = 

| RD1-seed3  =
| RD1-team3  =
| RD1-score3 = 
| RD1-seed4  = 
| RD1-team4  = 
| RD1-score4 = 

| RD1-seed5  = 
| RD1-team5  = 
| RD1-score5 = 
| RD1-seed6  = 
| RD1-team6  = 
| RD1-score6 = 

| RD1-seed7  =
| RD1-team7  =
| RD1-score7 =
| RD1-seed8  =
| RD1-team8  =
| RD1-score8 =

| RD2-seed1  =
| RD2-team1  =
| RD2-score1 =
| RD2-seed2  =
| RD2-team2  =
| RD2-score2 =

| RD2-seed3  = 
| RD2-team3  = 
| RD2-score3 =
| RD2-seed4  =
| RD2-team4  =
| RD2-score4 = 

| RD3-seed1  =
| RD3-team1  = 
| RD3-score1 =
| RD3-seed2  = 
| RD3-team2  =
| RD3-score2 = 
}}

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.
  • 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