Template:12TeamBracket-WTTC/doc

From blackwiki
< Template:12TeamBracket-WTTC
Revision as of 15:44, 26 March 2012 by blackwiki>LLTT
Jump to navigation Jump to search

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

Infobox code

{{12TeamBracket-WTTC
| RD1=
| RD2=
| RD3=
| RD4=

| 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=

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

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

| RD4-team1=
| RD4-score1=
| RD4-team2=
| RD4-score2=

}}

Template parameters

  • RD1, RD2, RD3, RD4 — [OPTIONAL] The names of each respective round. Defaults to "Round of 16", "Quarterfinals", "Semifinals", and "Final", 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.