Template:PI: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><span | <templatestyles src="PI/styles.css" /><includeonly>{{#if: {{{compact|}}} | ||
| <span class="pi-compact" title="Boon scaling: +{{{1|}}} per Boon">[[File:Boon icon.png|16px|link=]]</span> | |||
| <span class="pi-wrapper" style="font-size: {{{2|14px}}};">[[Boon|<span class="pi-text">+{{{1|}}}</span>]]<span class="pi-icon">[[File:Boon icon.png|link=Boon|20px]]</span></span> | |||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | |||
< | |||
</noinclude> | |||
Revision as of 20:35, 11 April 2026
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 |