Template:Item

From Funky Station
Revision as of 05:07, 4 September 2024 by imported>Aliser (added "link" param; improv docs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#vardefine: docpage_link|Template:Item/doc}}

Template documentation
[[{{#var:docpage_link}}|view]] or edit this documentation about template documentation
{{#vardefine: below_banner|Template:Uses lua

Template:Uses template styles}}Template:Uses lua

Template:Uses template styles

Template:Item/doc

Produces an in-game item icon with a label. The label is the name of that item. Items without icons... will not have icons. See extra parameters for extra spice!

Template parameters

ParameterDescriptionTypeStatus
Item1

What item are you looking for? ID, name or a custom alias? Use whatever you wish! Any casing is allowed, including lowercase.

Example
lv coil
Linerequired
Amount2

Amount of item. By default, no amount in particular is chosen.

Example
3
Numbersuggested
Sizesize

Icon size

Default
32px
Linesuggested
Labellabel l

Label override.

Linesuggested
Capitalizecapitalize cap

Makes the first letter in the label uppercase.

Auto value
0
Booleansuggested
Linklink

A link to give to the item. By default, a link is added if it's defined in the config - read more in Module:Item.

Page namesuggested