Template:Tennis bar/doc
Appearance
This is a documentation subpage for Template:Tennis bar. It may contain usage information, categories and other content that is not part of the original template page. |
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]- {{tb2}}