Template:Labeled icon
From Space Station 14 Wiki
Uses Lua module
This template uses Lua module:
Tip
It's recommended to use one of the derivative template, is possible.
This template is meant to be used either inside other templates or in cases where there's no specific template for a use case (in which case one should be created, if there's enough usages).
This template is meant to be used either inside other templates or in cases where there's no specific template for a use case (in which case one should be created, if there's enough usages).
Usage
todo
Example
Basic
{{Labeled icon
↓
Gauze
In text
Roll of {{Labeled icon
↓
Roll of Gauze heals slash and piercing damage.
With a link
todo
With zoom
TC
With a custom class
Can be seen with dev tools.
{{Labeled icon
↓

Icon with a label.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Icon | 1 | Icon image. | File | required |
Icon size | 2 | Size of the icon in pixels.
| Line | required |
Label | 3 | Icon label. Goes after the icon. | Line | required |
Link | 4 | Link to specific page. | Page name | suggested |
Zoom | zoom | Allows to «zoom in» the icon by the specified amount. For example, 10 pixels zoom will zoom in 10 pixels.
| Line | suggested |