Renew this page to show changes
Description
This is the way, to configure bar heights more comfortable. This template is used by some of the bar templates, if no size is defined there. Only numbers are returned here, the px
is added automatically by the calling templates.
Syntax
Type {{Bar height|<type>}}
somewhere.
<type>
is the type of bar, you want to configure. When no type or an unknown type is provided, nothing is returned, resulting in the picture sizes to be used unchanged (default size). When a numeric expression (or number) is provided, the template returns its evaluation.
You can use:
Samples
type this | explanation | to get this |
---|---|---|
{{Bar height}}
|
no parameters -> nothing. | |
{{Bar height|unknown}}
|
unknown type -> nothing. | |
{{Bar height|infobox}}
|
known type -> predifined size. | 13 |
{{Bar height|2.2+3.8}}
|
numeric expression -> evaluated. | 6 |