模板:12TeamBracket-WTTC/doc

此模板主要制作各比赛的晋级图。

用法

Infobox 格式
{{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=
| 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=
| RD3b-team3=
| RD3b-score3=
| RD3b-team4=
| RD3b-score4=
| RD3b-team5=
| RD3b-score5=
| RD3b-team6=
| RD3b-score6=
| RD3b-team7=
| RD3b-score7=
| RD3b-team8=
| RD3b-score8=
| RD4b=
| RD4b-team1=
| RD4b-score1=
| RD4b-team2=
| RD4b-score2=
}}
模板的函数
  • RD1, RD2, RD3, RD4, RD2b, RD3b, RD4b — [可选择输入] 每一回合的名称;如无输入将自动设定为 “首轮”、“半准决赛”、“准决赛”、“决赛”、“第9–12位排名赛”、“第5–8位排名赛”及“季军赛”。
  • team-width — [可选择输入] 显示队伍的阔度 (pixels),默认值为175 pixels。
  • score-width — [可选择输入] 显示分数的阔度 (pixels),默认值为24 pixels。
  • 余下的参数以X-YZ为输入格式
    • X 代表特定回合
    • Y 代表队伍名称或分数
    • Z 特别数字