Template:Tabletennisbox/doc
![]() | This is a documentation subpage for Template:Tabletennisbox. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
For use on pages with results of table tennis matches. <syntaxhighlight lang="wikitext">
– |
</syntaxhighlight>
Parameters:
- bg — [OPTIONAL] Designates the background color for the upper half. Default to transparent.
- bg2 — [OPTIONAL] Designates the background color for the lower half (below the row of "Individual matches"). Default to transparent.
- width — [OPTIONAL] The width of the whole box. Default to 100%.
- The other parameters are optional to be used for filling in the information of the match in the box.
Example
<syntaxhighlight lang="wikitext" style="overflow:auto;">
18 August 2008 19:30 |
Germany ![]() |
0–3 | ![]() |
Peking University Gymnasium, Beijing Duration: 1h 23min |
report | Individual matches | |||
Dimitrij Ovtcharov | 0–3 | Wang Hao | 4–11, 8–11, 7–11 | |
Timo Boll | 1–3 | Ma Lin | 7–11, 11–8, 4–11, 7–11 | |
Christian Süß/Timo Boll | 1–3 | Wang Liqin/Wang Hao | 13–11, 5–11, 8–11, 7–11 | |
</syntaxhighlight>
Sample result:
18 August 2008 19:30 |
Germany ![]() |
0–3 | ![]() |
Peking University Gymnasium, Beijing Duration: 1h 23min |
report | Individual matches | |||
Dimitrij Ovtcharov | 0–3 | Wang Hao | 4–11, 8–11, 7–11 | |
Timo Boll | 1–3 | Ma Lin | 7–11, 11–8, 4–11, 7–11 | |
Christian Süß/Timo Boll | 1–3 | Wang Liqin/Wang Hao | 13–11, 5–11, 8–11, 7–11 | |
See also