Template:8TeamPlacementBracket

From MicrasWiki
Jump to navigationJump to search
  5th place match 5th – 8th place play-offs Quarter-finals Semi-finals Final
                                               
    {{{QF-team1}}} {{{QF-score1}}}  
    {{{QF-team2}}} {{{QF-score2}}}  
  {{{consolation-team1}}} {{{consolation-score1}}}       {{{SF-team1}}} {{{SF-score1}}}  
  {{{consolation-team2}}} {{{consolation-score2}}}       {{{SF-team2}}} {{{SF-score2}}}  
  {{{QF-team3}}} {{{QF-score3}}}
    {{{QF-team4}}} {{{QF-score4}}}  
  {{{fifth-team1}}} {{{fifth-score1}}}       {{{final-team1}}} {{{final-score1}}}
  {{{fifth-team2}}} {{{fifth-score2}}}       {{{final-team2}}} {{{final-score2}}}
    {{{QF-team5}}} {{{QF-score5}}}  
      {{{QF-team6}}} {{{QF-score6}}}  
{{{consolation-team3}}} {{{consolation-score3}}}       {{{SF-team3}}} {{{SF-score3}}}
  7th place match     {{{consolation-team4}}} {{{consolation-score4}}}       {{{SF-team4}}} {{{SF-score4}}}     3rd place match
  {{{seventh-team1}}} {{{seventh-score1}}}   {{{QF-team7}}} {{{QF-score7}}}   {{{third-team1}}} {{{third-score1}}}
  {{{seventh-team2}}} {{{seventh-score2}}}     {{{QF-team8}}} {{{QF-score8}}}     {{{third-team2}}} {{{third-score2}}}
[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

{{8TeamPlacementBracket
|seedwidth=
|teamwidth=
|scorewidth=

| QF-seed1= A3| QF-team1= | QF-score1=
| QF-seed2= B4| QF-team2= | QF-score2=
| QF-seed3= C3| QF-team3= | QF-score3=
| QF-seed4= D4| QF-team4= | QF-score4=
| QF-seed5= B3| QF-team5= | QF-score5=
| QF-seed6= A4| QF-team6= | QF-score6=
| QF-seed7= D3| QF-team7= | QF-score7=
| QF-seed8= C4| QF-team8= | QF-score8=

| SF-seed1= | SF-team1= | SF-score1=
| SF-seed2= | SF-team2= | SF-score2=
| SF-seed3= | SF-team3= | SF-score3=
| SF-seed4= | SF-team4= | SF-score4=

| consolation-seed1= | consolation-team1= | consolation-score1=
| consolation-seed2= | consolation-team2= | consolation-score2=
| consolation-seed3= | consolation-team3= | consolation-score3=
| consolation-seed4= | consolation-team4= | consolation-score4=

| final-seed1= | final-team1= | final-score1=
| final-seed2= | final-team2= | final-score2=
| third-seed1= | third-team1= | third-score1=
| third-seed2= | third-team2= | third-score2=
| fifth-seed1= | fifth-team1= | fifth-score1=
| fifth-seed2= | fifth-team2= | fifth-score2=
| seventh-seed1= | seventh-team1= | seventh-score1=
| seventh-seed2= | seventh-team2= | seventh-score2=

|final = 
|third = 
|fifth = 
|seventh = 
|consolation = 
}}

Parameter definitions

  • seedwidth – [OPTIONAL] sets the width of the seed fields (20 by default).
  • teamwidth – [OPTIONAL] sets the width of the team name fields (120 by default).
  • scorewidth – [OPTIONAL] sets the width of the score fields (25 by default).
  • quarterfinals, semifinals, final, third, fifth, seventh, consolation – [OPTIONAL] The names of each round. Defaults are "Quarter-finals", "Semi-finals", "Final", "3rd place match", "5th place match", "7th place match" and "5th–8th play-offs", 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.