Template:16TeamBracket-TableTennis/doc

From Template Wiki, a repository of MediaWiki templates.
Jump to navigation Jump to search

Usage

This template generates a 16-team tournament bracket.

{{16TeamBracket-TableTennis
| RD1=
| RD2=
| RD3=
| RD4=

| team-width=
| score-width=

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

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

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

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

| RD1-seed9=
| RD1-team9=
| RD1-score9=
| RD1-seed10=
| RD1-team10=
| RD1-score10=
| RD1-detail5=

| RD1-seed11=
| RD1-team11=
| RD1-score11=
| RD1-seed12=
| RD1-team12=
| RD1-score12=
| RD1-detail6=

| RD1-seed13=
| RD1-team13=
| RD1-score13=
| RD1-seed14=
| RD1-team14=
| RD1-score14=
| RD1-detail7=

| RD1-seed15=
| RD1-team15=
| RD1-score15=
| RD1-seed16=
| RD1-team16=
| RD1-score16=
| RD1-detail8=

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

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

| RD2-seed5=
| RD2-team5=
| RD2-score5=
| RD2-seed6= 
| RD2-team6=
| RD2-score6=
| RD2-detail3=

| RD2-seed7=
| RD2-team7=
| RD2-score7=
| RD2-seed8=
| RD2-team8=
| RD2-score8=
| RD2-detail4=

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

| RD3-seed3=
| RD3-team3=
| RD3-score3=
| RD3-seed4=
| RD3-team4=
| RD3-score4=
| RD3-detail2=

| RD4-seed1=
| RD4-team1=
| RD4-score1=
| RD4-seed2=
| RD4-team2=
| RD4-score2=
| RD4-detail1=
}}

Template parameters

  • RD1, RD2, RD3, RD4 — [OPTIONAL] The names of each respective round. Defaults to "First Round", "Quarterfinals", "Semifinals", and "Final", respectively.
  • team-width — [OPTIONAL] The width (in pixels) of the team field for each tier. Defaults to 160 pixels.
  • score-width — [OPTIONAL] The width (in pixels) of the score field for each match of the tier. Defaults to 20 pixels.
  • RD-match — [OPTIONAL] Details of the match in the specific round (e.g., scores in each game). Defaults to non-breaking space.
  • The rest of the parameters fill in the bracket and consists of the form X-Y where
    • X is the specific round.
    • Y is either the team's name or score.

See also