Template:Item icon: Difference between revisions

From Space Station 14 Wiki
Template:Item icon
(wip)
(wip)
Line 57: Line 57:
--><span class="item-icon"><!--
--><span class="item-icon"><!--
     --><span class="item-icon-icon">[[File:{{#var:icon_file}}|{{#var: icon_size}}]]</span><!--
     --><span class="item-icon-icon">[[File:{{#var:icon_file}}|{{#var: icon_size}}]]</span><!--
     --><span class="item-icon-label">'''{{#var:icon_label}}'''</span><!--
     --><span class="item-icon-label">'''{{{label|{{#var:icon_label}}}}}'''</span><!--
--></span></includeonly><noinclude>
--></span></includeonly><noinclude>
{{docs}}
{{docs}}
Line 102: Line 102:
"type": "line",
"type": "line",
"default": "24px",
"default": "24px",
"suggested": true
},
"label": {
"label": "Label",
"description": "Label override.",
"type": "line",
"suggested": true
"suggested": true
}
}
Line 107: Line 113:
"paramOrder": [
"paramOrder": [
"1",
"1",
"size"
"size",
"label"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 01:00, 15 August 2024

Template documentation
view or edit this documentation about template documentation

Examples

{{item icon|lv}}

LV cable coil

A list of all items with icons

Contains all items with icons. Updates automatically.

Script error: The function "generate_item_icons_for_all_items_with_icons" does not exist.

Errors

Unknown item

{{item icon|lorem ipsum honk}}

LV cable coil

No image defined for item

{{item icon|foldable}}

LV cable coil

No description.

Template parameters

ParameterDescriptionTypeStatus
Item1

What item are you looking for? Select from the list. Any casing is allowed, including lowercase.

Suggested values
LV cable coil LV LV cable coil 10x LV 10x LV cable coil 20x LV 20x LV cable coil 30x LV 30x MV cable coil MV MV cable coil 10x MV 10x MV cable coil 20x MV 20x MV cable coil 30x MV 30x HV cable coil HV HV cable coil 10x HV 10x HV cable coil 20x HV 20x HV cable coil 30x HV 30x
Linerequired
Sizesize

Icon size

Default
24px
Linesuggested
Labellabel

Label override.

Linesuggested