Template:Item/doc: Difference between revisions

From Space Station 14 Wiki
(→‎Custom label: omitting label)
(reorder)
Line 5: Line 5:


{{item|lv}}
{{item|lv}}
=== Custom icon size ===
{{tji|item|lv|size:64px}}
{{gda}}
{{item|lv|size=64px}}


=== Custom label ===
=== Custom label ===
Line 28: Line 21:


{{item|proto-kinetic accelerator|label=}}
{{item|proto-kinetic accelerator|label=}}
=== Custom icon size ===
{{tji|item|lv|size:64px}}
{{gda}}
{{item|lv|size=64px}}


== A list of all items with icons ==
== A list of all items with icons ==

Revision as of 13:21, 17 August 2024

Examples

{{item|lv}}

LV cable coil

Custom label

{{item|proto-kinetic accelerator|label=hole-maker}}

hole-maker

Empty label

To remove the label alltogether, pass an empty string to label.

{{item|proto-kinetic accelerator|label=}}

Custom icon size

{{item|lv|size=64px}}

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 with name

{{item|lorem ipsum honk}}

Lua error in Module:Item at line 83: item generation failed: no item was found by ID/name 'lorem ipsum honk'.

No image defined for item with name

{{item|foldable}}

foldable