Template:Item/doc: Difference between revisions

From Space Station 14 Wiki
(more docs)
(→‎Custom label: omitting label)
Line 19: Line 19:


{{item|proto-kinetic accelerator|label=hole-maker}}
{{item|proto-kinetic accelerator|label=hole-maker}}
==== Empty label ====
To remove the label alltogether, pass an empty string to {{c|label}}.
{{tji|item|proto-kinetic accelerator|label:}}
{{gda}}
{{item|proto-kinetic accelerator|label=}}


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

Revision as of 12:43, 17 August 2024

Examples

{{item|lv}}

LV cable coil

Custom icon size

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

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=}}

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