Template:Item/doc: Difference between revisions
From Space Station 14 Wiki
→Specifying amount of items: more test examples |
"capitalize" examples |
||
Line 63: | Line 63: | ||
{{item|proto-kinetic accelerator|label=}} | {{item|proto-kinetic accelerator|label=}} | ||
==== Capitalizing the label ==== | |||
This makes the first letter of the label uppercase. | |||
{{tji|item|proto-kinetic accelerator|capitalize:1}} <br> | |||
{{gray or}} <br> | |||
{{tji|item|proto-kinetic accelerator|cap:1}} | |||
{{gda}} | |||
{{item|proto-kinetic accelerator|capitalize=1}} <br> | |||
{{gray or}} <br> | |||
{{item|proto-kinetic accelerator|cap=1}} | |||
=== Custom icon size === | === Custom icon size === |
Revision as of 00:11, 20 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
↓
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
↓
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