Template:Infobox tennis match/doc

From The Global Wiki
Jump to navigation Jump to search

Usage

Script error: No such module "Parameter names example".

{{ 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

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.

See also