Jump to content

Template:Tennis bar/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

{{Tennis bar|value|width=|text=}}

Used to simplify the creation of bar visualisations such as that in List of Grand Slam men's singles champions#Grand Slam titles by decade.

The following are the named parameters:

  • |width= width of the bar in pixels.
  • |text= text to display.
  • |text-size= (optional) font-size of text (%)

e.g. {{Tennis bar|276|width=276|text='''[[Pete Sampras|Sampras]]'''}} renders as:

276 
Sampras

Aliases

[edit]