模板:Round2-Tennis5
跳至導覽
跳至搜尋
| 決賽 | |||||||||
使用方法
代碼
{{Round2-Tennis5
| RD1=
<--!以下设定宽度可以不填写,若超出设定值会自动调整大小-->
|seed-width= <--! 不填默认为20 -->
|team-width= <--! 不填默认为200 -->
|score-width= <--! 不填默认总大小为为50-->
| RD1-seed01=
| RD1-team01=
| RD1-score01-1=
| RD1-score01-2=
| RD1-score01-3=
| RD1-score01-4=
| RD1-score01-5=
| RD1-seed02=
| RD1-team02=
| RD1-score02-1=
| RD1-score02-2=
| RD1-score02-3=
| RD1-score02-4=
| RD1-score02-5=
}}
參數定義
- seed-width——[可選]設定種子選手欄位的寬度,預設值為25。
- team-width——[可選]設定團隊名稱欄位的寬度,預設值為125。
- score-width——[可選]設定比分欄位的寬度,預設值為5。
- RD1——[可選]比賽輪名稱,預設值為「決賽」。
- RD1-seed_——種子數
- RD1-seed_——選手/隊伍名稱
- RD1-score_-_——各局小分
使用例
以1996年夏季奧運會乒乓男單決賽為例:
代碼
{{Round2-Tennis5
| RD1=
|seed-width=
|team-width= 150
|score-width=
| RD1-seed01= 1
| RD1-team01={{flagicon|China}} '''刘国梁'''
| RD1-score01-1='''21
| RD1-score01-2=22
| RD1-score01-3='''21
| RD1-score01-4=15
| RD1-score01-5='''21
| RD1-seed02= 2
| RD1-team02={{flagicon|China}} 王涛
| RD1-score02-1=12
| RD1-score02-2='''24
| RD1-score02-3=19
| RD1-score02-4='''21
| RD1-score02-5=6
}}
效果
| 決賽 | |||||||||
| 1 | |
21 | 22 | 21 | 15 | 21 | |||
| 2 | |
12 | 24 | 19 | 21 | 6 | |||