Template:Item/doc: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
A list of all items with icons: moved to a different page to lessen the preview time
Aliser (talk | contribs)
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}}

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.

{{item|foldable}}

foldable

Specifying amount of items

{{item|steel|25}}

steel [25]

More examples

Custom label

{{item|proto-kinetic accelerator|label=hole-maker}}

hole-maker

Empty label

To remove the label alltogether, pass an empty string to label.

{{item|proto-kinetic accelerator|label=}}

Capitalizing the label

This makes the first letter of the label uppercase.

{{item|proto-kinetic accelerator|capitalize=1}}
or
{{item|proto-kinetic accelerator|cap=1}}

Proto-kinetic accelerator
or
Proto-kinetic accelerator


Custom icon size

{{item|lv|size=64px}}

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|lorem ipsum honk}}

unknown item 'lorem ipsum honk'

No image defined for item with name

{{item|foldable}}

foldable