8TeamBracket-WTTC/doc

From blackwiki
Jump to navigation Jump to search

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

Infobox code

{{8TeamBracket-WTTC
| RD1=
| RD2=
| RD3=

| team-width=
| score-width=

| RD1-team1=
| RD1-score1=
| RD1-team2=
| RD1-score2=
| RD1-team3=
| RD1-score3=
| RD1-team4=
| RD1-score4=

| RD1-team5=
| RD1-score5=
| RD1-team6=
| RD1-score6=
| RD1-team7=
| RD1-score7=
| RD1-team8=
| RD1-score8=

| RD2-team1=
| RD2-score1=
| RD2-team2=
| RD2-score2=
| RD2-team3=
| RD2-score3=
| RD2-team4=
| RD2-score4=

| RD3-team1=
| RD3-score1=
| RD3-team2=
| RD3-score2=

| RD2b=
| RD2b-team1=
| RD2b-score1=
| RD2b-team2=
| RD2b-score2=
| RD2b-team3=
| RD2b-score3=
| RD2b-team4=
| RD2b-score4=
| RD2b-team5=
| RD2b-score5=
| RD2b-team6=
| RD2b-score6=
| RD2b-team7=
| RD2b-score7=
| RD2b-team8=
| RD2b-score8=

| RD3b=
| RD3b-team1=
| RD3b-score1=
| RD3b-team2=
| RD3b-score2=

}}

Template parameters

  • RD1, RD2, RD3, RD2b, RD3b — [OPTIONAL] The names of each respective round. Defaults to "Quarterfinals", "Semifinals", "Final", "Position 5–8" and "Third Place", respectively.
  • team-width — [OPTIONAL] The width (in pixels) of the team field for each tie. Defaults to 175 pixels.
  • score-width — [OPTIONAL] The width (in pixels) of the score field for each match of the tie. Defaults to 24 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 name or score
    • Z is the specific placement on the bracket, counting from top to bottom.