Template:Item/doc: Difference between revisions
From Space Station 14 Wiki
(→Examples: items without icons) |
(→Errors: removed obsolete error; better title) |
||
Line 103: | Line 103: | ||
== Errors == | == Errors == | ||
=== Unknown item | === Unknown item === | ||
{{tji|item|lorem ipsum honk}} | {{tji|item|lorem ipsum honk}} | ||
Line 109: | Line 109: | ||
{{item|lorem ipsum honk}} | {{item|lorem ipsum honk}} | ||
Revision as of 11:36, 24 August 2024
Examples
Basic
{{item
↓
LV cable coil
For items without icons
Info
Not all items have their icons uploaded to the wiki. Such items will only have their label displayed.
Used here is some abstract item without icon.
Used here is some abstract item without icon.
{{item
↓
foldable
Specifying amount of items
{{item
↓
25 steel
More examples
Custom label
{{item
↓
hole-maker
Empty label
To remove the label alltogether, pass an empty string to label
.
{{item
↓
Capitalizing the label
This makes the first letter of the label uppercase.
{{item
or
{{item
↓
Proto-kinetic accelerator
or
Proto-kinetic accelerator
Custom icon size
{{item
↓
LV cable coil
A list of all items with icons
See Template:Item/doc/list of items with icons.
Errors
Unknown item
{{item
↓
Lua error in Module:Item at line 83: item generation failed: no item was found by ID/name 'lorem ipsum honk'.