Editing Template:Ss/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 Spirit Power scaling indicator next to a value. | This template displays a Spirit Power scaling indicator next to a value. | ||
| Line 6: | Line 5: | ||
<pre>{{Ss|value|font_size}}</pre> | <pre>{{Ss|value|font_size}}</pre> | ||
<pre>{{Ss|value|compact=yes}}</pre> | <pre>{{Ss|value|compact=yes}}</pre> | ||
==Parameters== | |||
{| class="wikitable" | |||
! Parameter !! Description !! Default | |||
|- | |||
| 1 || The scaling value || (empty) | |||
|- | |||
| 2 || Font size || 14px | |||
|- | |||
| icon_size || Size of the spirit icon || 25px | |||
|- | |||
| compact || Set to <code>yes</code> for icon-only mode with a tooltip on hover || (empty) | |||
|} | |||
==Examples== | ==Examples== | ||
<pre>30{{ | <pre>30{{ss|0.1234}}m</pre> | ||
Outputs: 30{{ | Outputs: 30{{ss|0.1234}}m | ||
<pre>30{{ | <pre>30{{ss|0.1234|12px}}m</pre> | ||
Outputs: 30{{ | Outputs: 30{{ss|0.1234|12px}}m | ||
<pre>{{Ss|0.1234|compact=yes}}</pre> | <pre>{{Ss|0.1234|compact=yes}}</pre> | ||
Outputs: {{Ss|0.1234|compact=yes}} | Outputs: {{Ss|0.1234|compact=yes}} | ||