Template:Item/doc: Difference between revisions
added a 'capitalize all' example |
amount format examples |
||
Line 61: | Line 61: | ||
{{item|steel|999999}} | {{item|steel|999999}} | ||
}} | }} | ||
=== Amount format === | |||
{{tji|item|steel|5000}} (no format)<br> | |||
{{tji|item|steel|5000|format amount:1}} (format) | |||
{{gda}} | |||
{{item|steel|5000}} (no format)<br> | |||
{{item|steel|5000|format amount=1}} (format) | |||
=== Custom label === | === Custom label === |
Revision as of 20:04, 14 May 2025
Examples
Basic
{{item
↓
For items without icons
Used here is some abstract item without icon.
{{item
↓
foldable
Specifying amount of items
{{item
↓
More examples
Amount format
{{item
{{item
↓
steel [5000] (no format)
steel [5,000] (format)
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
Capitalizing each word in the label
This makes the first letter in each word inside the label uppercase.
{{item
or
{{item
↓
Proto-kinetic Accelerator
or
Proto-kinetic Accelerator
Custom icon size
{{item
↓
Adding links
{{item
↓
unknown item 'Deckard'

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'