Template:Ss/doc

From The Deadlock Wiki
Jump to navigation Jump to search
CSS3 logo.svg
This template uses CSS found at Ss/styles.css.

This template displays a Spirit Power scaling indicator next to a value.

{{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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Scaling value1

The Spirit Power scaling value to display.

Numberrequired
Font size2

Font size of the scaling text.

Default
14px
Stringoptional
Icon sizeicon_size

Size of the Spirit Power icon.

Default
25px
Stringoptional
Compact modecompact

Set to 'yes' to show only the icon with a tooltip on hover instead of the full indicator.

Stringoptional