Template:PI/doc

Revision as of 20:36, 11 April 2026 by LVL (talk | contribs) (Created page with "This template displays a Boon scaling indicator next to a value. ==Usage== <pre>{{PI|value}}</pre> <pre>{{PI|value|font_size}}</pre> <pre>{{PI|value|compact=yes}}</pre> ==Parameters== {| class="wikitable" ! Parameter !! Description !! Default |- | 1 || The scaling value || (empty) |- | 2 || Font size || 14px |- | compact || Set to <code>yes</code> for icon-only mode with a tooltip on hover || (empty) |} ==Examples== <pre>123{{PI|12345}}m</pre> Outputs: 123{{PI|12345}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

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

Parameters

Parameter Description Default
1 The scaling value (empty)
2 Font size 14px
compact Set to yes for icon-only mode with a tooltip on hover (empty)

Examples

123{{PI|12345}}m

Outputs: 123+12345m

123{{PI|12345|12px}}m

Outputs: 123+12345m

{{PI|1.5|compact=yes}}

Outputs: