Template:Item/doc: Difference between revisions
→Adding links: example fix |
added a 'capitalize all' example |
||
Line 91: | Line 91: | ||
{{item|proto-kinetic accelerator|cap=1}} | {{item|proto-kinetic accelerator|cap=1}} | ||
==== Capitalizing each word in the label ==== | |||
This makes the first letter in each word inside the label uppercase. | |||
{{tji|item|proto-kinetic accelerator|capitalize all:1}} <br> | |||
{{gray or}} <br> | |||
{{tji|item|proto-kinetic accelerator|cap all:1}} | |||
{{gda}} | |||
{{item|proto-kinetic accelerator|capitalize all=1}} <br> | |||
{{gray or}} <br> | |||
{{item|proto-kinetic accelerator|cap all=1}} | |||
=== Custom icon size === | === Custom icon size === |
Revision as of 06:23, 24 March 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
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'