Template:Item/doc: Difference between revisions
From Space Station 14 Wiki
(→A list of all items with icons: moved to a different page to lessen the preview time) |
(→Examples: items without icons) |
||
Line 1: | Line 1: | ||
== Examples == | == Examples == | ||
=== Basic === | |||
{{tji|item|lv}} | {{tji|item|lv}} | ||
Line 5: | Line 6: | ||
{{item|lv}} | {{item|lv}} | ||
=== For items without icons === | |||
{{Callout | |||
|Info | |||
|Not all items have their icons uploaded to the wiki. Such items will only have their label displayed.<br> | |||
Used here is some abstract item without icon.}} | |||
{{tji|item|foldable}} | |||
{{gda}} | |||
{{item|foldable}} | |||
=== Specifying amount of items === | === Specifying amount of items === |
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 with name
{{item
↓
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