Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a46167a65a2d5cd4

Jump to content

Template:TennisMatch/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Simple

[edit]

{{TennisMatch|T1P1=| | | | | |T2P1=| | | | | }}

Complete

[edit]

{{TennisMatch|T1P1=Team 1 Player 1|T1P2=Team 1 Player 2 (optional)|Team 1 set 1 score|Team 1 set 2 score|Team 1 set 3 score |Team 1 set 4 score|Team 1 set 5 score|T2P1=Team 2 Player 1|T2P2=Team 2 Player 2 (optional)|Team 2 set 1 score|Team 2 set 2 score|Team 2 set 3 score |Team 2 set 4 score|Team 2 set 5 score|[np/nc/wo/re1/re2/def/sus/mtb]}}

Score input

[edit]

Please observe the following when inputting scores:

The scores follow the format as follows: 6.00 gives 60, 6.009 gives 61, 6.019 gives 62, etc. Increment the number by 0.01 to increase it to the next tiebreak score.

Status parameters

[edit]

The following parameters can be used if required:

  • |np=: not played
  • |nc=x: not completed; x is set when match ended
  • |wo=x: walkover; x is winning player/team number (1 or 2)
  • |re1=x: retired player from team 1; x is set when match ended
  • |re2=x: retired player from team 2; x is set when match ended
  • |def=x: default; x is the player/team that lost due to default (1 or 2)
  • |sus=x: suspended; x is custom text to display in status column
  • |mtb=: Set to blank if third set decided by match tiebreak

Alternatives to avoid post-expand include size limit

[edit]

Pages with lots of transclusions of this template, especially when nested inside box score templates, can cause the page to exceed the post-expand include size limit. This will prevent templates and references from displaying properly. You can reduce the include size by directly invoking Module:TennisMatch as follows:

  • {{TennisMatch| → {{#invoke:TennisMatch|five|
  • {{TennisMatch3| → {{#invoke:TennisMatch|three|

See also

[edit]