Template:PI/doc

From The Deadlock Wiki
Jump to navigation Jump to search
CSS3 logo.svg
This template uses CSS found at PI/styles.css.

This template displays a Boon scaling indicator next to a value.

{{PI|value}}
{{PI|value|font_size}}
{{PI|value|compact=yes}}

Examples

[edit source]
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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Scaling value1

The Boon scaling value to display.

Numberrequired
Font size2

Font size of the scaling text.

Default
14px
Stringoptional
Compact modecompact

Set to 'yes' to show only the icon with a tooltip on hover instead of the full indicator.

Stringoptional