Template:Ss: Difference between revisionsGive feedback
Jump to navigation
Jump to search
mNo edit summary |
Changed compact visuals |
||
| (28 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><span | <templatestyles src="Ss/styles.css" /><includeonly>{{#if: {{{compact|}}} | ||
| <span class="ss-compact" title="Spirit scaling: x{{{1|}}}">[[File:Spirit scaling.png|link=|{{{icon_size|25px}}}]]{{#if: {{{show_value|}}}|<span class="ss-value">x{{{1|}}}</span>}}</span> | |||
| <span class="ss-wrapper" style="font-size: {{{2|14px}}};"><!-- | |||
--><span class="ss-icon">[[File:Spirit scaling.png|link=Spirit Power#Spirit Power Scaling|{{{icon_size|25px}}}]]</span><!-- | |||
-->[[Spirit Power#Spirit Power Scaling|<span class="ss-text">''x''{{{1|}}}</span>]]</span> | |||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | |||
</noinclude> | |||
Latest revision as of 15:16, 16 April 2026
This template uses CSS found at Ss/styles.css.
This template displays a Spirit Power scaling indicator next to a value.
Usage
[edit source]{{Ss|value}}
{{Ss|value|font_size}}
{{Ss|value|compact=yes}}
Examples
[edit source]30{{Ss|0.1234}}m
Outputs: 30x0.1234m
30{{Ss|0.1234|12px}}m
Outputs: 30x0.1234m
{{Ss|0.1234|compact=yes}}
Outputs:
Displays a Spirit Power scaling indicator next to a value.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Scaling value | 1 | The Spirit Power scaling value to display. | Number | required |
| Font size | 2 | Font size of the scaling text.
| String | optional |
| Icon size | icon_size | Size of the Spirit Power icon.
| 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 |