Template:Item/doc: Difference between revisions
From Space Station 14 Wiki
→A list of all items with icons: changes due to update to Module:Item |
→Specifying amount of items: more test examples |
||
Line 12: | Line 12: | ||
{{item|steel|25}} | {{item|steel|25}} | ||
More examples | |||
{{collapse | |||
|{{item|steel|-55}} | |||
{{item|steel|0}} | |||
{{item|steel|0.5}} | |||
{{item|steel|1}} | |||
{{item|steel|5}} | |||
{{item|steel|9}} | |||
{{item|steel|10}} | |||
{{item|steel|11}} | |||
{{item|steel|15}} | |||
{{item|steel|19}} | |||
{{item|steel|20}} | |||
{{item|steel|21}} | |||
{{item|steel|25}} | |||
{{item|steel|30}} | |||
{{item|steel|35}} | |||
{{item|steel|999999}} | |||
}} | |||
=== Custom label === | === Custom label === |
Revision as of 22:08, 17 August 2024
Examples
{{item
↓
Specifying amount of items
{{item
↓
More examples
Custom label
{{item
↓
Empty label
To remove the label alltogether, pass an empty string to label
.
{{item
↓
Custom icon size
{{item
↓
A list of all items with icons
Contains all items with icons. Updates automatically.


































































































































































































































































































































































































































































































































































































































Errors
Unknown item with name
{{item
↓
unknown item 'lorem ipsum honk'
No image defined for item with name
{{item
↓
foldable