Template:Pill
(Redirected from Template:Playerbox element)
{{{1}}}{{{2}}}
Usage
Template which takes two variables - a title and a value - and displays them in a rounded box.
Basic usage is {{pill|Score|37}}, which produces:
Score37
You can also colour-code the left hand side: {{pill|Height|500m|brown}} produces:
Height500m
Special cases
The template also takes a couple of unusual cases, specifically for use in Template:Tableau:
- If called with
{{pill|-|-}}, a horizontal separator line is drawn instead. - If called with
{{pill|-|Subtitle}}, the "Subtitle" text is printed without a border, in italics.
Similar templates
- Template:Vpill, an equivalent box divided vertically.