Template:Item/doc

From Space Station 14 Wiki
Revision as of 08:31, 24 August 2024 by Aliser (talk | contribs) (→‎A list of all items with icons: moved to a different page to lessen the preview time)

Examples

{{item|lv}}

LV cable coil

Specifying amount of items

{{item|steel|25}}

25 steel

More examples

-55 steel

0 steel

0.5 steel

1 steel

5 steel

9 steel

10 steel

11 steel

15 steel

19 steel

20 steel

21 steel

25 steel

30 steel

35 steel

999999 steel

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

Capitalizing the label

This makes the first letter of the label uppercase.

{{item|proto-kinetic accelerator|capitalize=1}}
or
{{item|proto-kinetic accelerator|cap=1}}

Proto-kinetic accelerator
or
Proto-kinetic accelerator


Custom icon size

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

LV cable coil

A list of all items with icons

See Template:Item/doc/list of items with icons.

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