Template talk:8TeamBracket

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template description: This template generates a generic 8-team tournament bracket.

Infobox code

{{8TeamBracket | RD1=
| RD2=
| RD3=
| group1=
| group2=

| score-width=
| team-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=
}}

Template parameters

  • RD1, RD2, RD3 — [OPTIONAL] The names of each respective round. Defaults to "Quarterfinals", "Semifinals", and "Finals", respectively.
  • group1, group2 — [OPTIONAL] The name of the first group of four team, and the name of the last group of four, respectively.
  • team-width — [OPTIONAL] The width (in pixels) of the team field for each game/match. This is useful if you need room for complex scores (e.g. Tennis). Defaults to 125 pixels.
  • score-width — [OPTIONAL] The width (in pixels) of the score field for each game/match. This is useful if you need room for complex scores (e.g. Tennis). Defaults to 25 pixels.
  • The rest of the parameters fill in the bracket and consists of the form X-YZ where
    • X is the specific round
    • Y is either the team's seed, name, or score
    • Z is the specific placement on the bracket, counting from top to bottom.