Jump to content

Template:5-set tennis/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{5-set tennis
| header text = 
| match desc  = 
| player1 = 
| player2 = 
| p1 s1 = 
| p2 s1 = 
| p1 s2 = 
| p2 s2 = 
| p1 s3 = 
| p2 s3 = 
| p1 s4 = 
| p2 s4 = 
| p1 s5 = 
| p2 s5 = 
| ref   = 
}}

Parameters description

[edit]
header text
Adds a table header text. In the "longest matches" article, this field allows for special parameters:
  • bytime - Longest match by time played
  • gamesno - Longest match by number of games, before the tiebreaker introduction
  • gamestb - Longest match by number of games, using tiebreaker scoring
  • games - Longest match by number of games (tiebreaker or not!)
  • default - if none of those values are used, the text entered in the field will be displayed.
match desc
Adds a table row above the scores. In the "longest matches" article, this is used to describe the match (year, round, number of games and/or time to play the match)

Optional parameters

[edit]
width
defaults to 300px
final
set value to "singles", "doubles", or "mixed doubles" as appropriate.
ref
adds a reference after the header text
note
adds a note at the bottom (information about longest set, etc.)
time1
number of minutes required to complete the first set
time2
number of minutes required to complete the second set
time3
number of minutes required to complete the third set
time4
number of minutes required to complete the fourth set
time5
number of minutes required to complete the fifth set