Template:Infobox tennis match/sandbox
Appearance
This is the template sandbox page for Template:Infobox tennis match (diff). |
Usage
[edit]{{{player1}}} ({{{p1 seed}}}) vs. {{{player2}}} ({{{p2 seed}}}) | |||||||||||||||||||
[[File:{{{image}}}|frameless]] | |||||||||||||||||||
{{{caption}}} | |||||||||||||||||||
| |||||||||||||||||||
Date | {{{match date}}} | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tournament | {{{tournament}}} | ||||||||||||||||||
Location | {{{location}}} | ||||||||||||||||||
Chair umpire | {{{umpire}}} | ||||||||||||||||||
Duration | {{{duration}}} | ||||||||||||||||||
World rankings | {{{player1}}}: {{{p1 rank}}} {{{player2}}}: {{{p2 rank}}} | ||||||||||||||||||
Previous head-to-head results | |||||||||||||||||||
{{{h2h}}} | |||||||||||||||||||
[[File:{{{p1 image}}}|{{{p1 image size}}}]] | |||||||||||||||||||
{{{p1 image cap}}} | |||||||||||||||||||
[[File:{{{p2 image}}}|{{{p2 image size}}}]] | |||||||||||||||||||
{{{p2 image cap}}} |
{{infobox tennis match
| match desc =
| match date =
| tournament =
| location =
| duration =
| umpire =
| player1 =
| player2 =
| p1 s1 =
| p2 s1 =
| p1 s2 =
| p2 s2 =
| p1 s3 =
| p2 s3 =
| p1 s4 =
| p2 s4 =
| p1 s5 =
| p2 s5 =
| image =
| p1 image =
| p2 image =
| p1 image cap =
| p2 image cap =
| p1 rank =
| p2 rank =
| p1 seed =
| p2 seed =
}}
Parameters
[edit]All parameters are optional.
- player1short
- If a shorter name is needed for the scoreboard, use this parameter. This may be useful for a doubles match.
- player2short
- If a shorter name is needed for the scoreboard, use this parameter. This may be useful for a doubles match.
- p1 seed
- If a tournament match, the seed of player 1.
- p2 seed
- If a tournament match, the seed of player 2.
- p1 rank
- World ranking of player 1.
- p2 rank
- World ranking of player 2.
- image
- An image designed for the match, usually for one-off specialty matches like Battle of the Surfaces.
- p1 image
- Image of player one. This image could be used for anything, really. It's the first image at the bottom of the infobox.
- p1 image cap
- Caption for p1 image.
- p2 image
- Image of player two (or just the second image at the bottom of the infobox).
- p2 image cap
- Caption for p2 image.
- h2h
- Previous head-to-head results. This can be formatted freely, with a suggestion like: Nadal 47, Federer 46.