Editing Template:PI/docGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
This template displays a Boon scaling indicator next to a value. | This template displays a Boon scaling indicator next to a value. | ||
| Line 6: | Line 5: | ||
<pre>{{PI|value|font_size}}</pre> | <pre>{{PI|value|font_size}}</pre> | ||
<pre>{{PI|value|compact=yes}}</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== | ==Examples== | ||
| Line 16: | Line 26: | ||
<pre>{{PI|1.5|compact=yes}}</pre> | <pre>{{PI|1.5|compact=yes}}</pre> | ||
Outputs: {{PI|1.5|compact=yes}} | Outputs: {{PI|1.5|compact=yes}} | ||