Template:PI/docGive feedback
Jump to navigation
Jump to search
This template uses CSS found at PI/styles.css.
This template displays a Boon scaling indicator next to a value.
Usage
{{PI|value}}
{{PI|value|font_size}}
{{PI|value|compact=yes}}
Examples
123{{PI|12345}}m
Outputs: 123+12345m
123{{PI|12345|12px}}m
Outputs: 123+12345m
{{PI|1.5|compact=yes}}
Outputs:
Displays a Boon scaling indicator next to a value.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Scaling value | 1 | The Boon scaling value to display. | Number | required |
| Font size | 2 | Font size of the scaling text.
| String | optional |
| Compact mode | compact | Set to 'yes' to show only the icon with a tooltip on hover instead of the full indicator. | String | optional |