Template:Item/doc: Difference between revisions
From Space Station 14 Wiki
added link example |
→Adding links: example fix |
||
Line 106: | Line 106: | ||
{{item|Deckard|link = Guns}} | {{item|Deckard|link = Guns}} | ||
{{Callout|Info|Some items have links by default, such as {{item| | {{Callout|Info|Some items have links by default, such as {{item|protolathe}}, so with this option you can override them as you wish.}} | ||
== A list of all items with icons == | == A list of all items with icons == |
Revision as of 05:13, 4 September 2024
Examples
Basic
{{item
↓
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
↓
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
↓
Adding links
{{item
↓
Info
Some items have links by default, such as
protolathe, so with this option you can override them as you wish.

A list of all items with icons
See Template:Item/doc/list of items with icons.
A list of all items
See Template:Item/doc/list_of_items.
Errors
Unknown item
{{item
↓
unknown item 'lorem ipsum honk'