Template:ItemBox

From Deadlock Wiki
Revision as of 08:10, 20 September 2024 by Sylphoid (talk | contribs) (link image)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Souls Item Not Found.
[[File:{{{item_name}}}.png|50px|link={{{item_name}}}]]

[[File:Item Not Found..png|20px|link=Item Not Found.]]

[[{{{item_name}}}]]
Template documentation [view] [edit] [purge]

A port of the initial box in Template:Infobox item with links, for use on pages that could use it without the whole infobox.

All data for each item is populated using data from Data:ItemData.json, retrieved by Module:ItemData.

Examples[edit source]

{{ItemBox|item_name = Soul Shredder Bullets|link=Basic Magazine}} 
{{ItemBox|item_name = Titanic Magazine}} 
{{ItemBox|item_name = Shadow Weave}}
{{ItemBox|item_name = Debuff Remover}}
{{ItemBox|item_name = Duration Extender}}
{{ItemBox|item_name = Improved Spirit}}
{{ItemBox|item_name = Bullet Lifesteal|link=Bullet Lifesteal (item)}}
Souls 6200
ACTIVE
Shadow Weave
Souls 4250
ACTIVE

Debuff Remover

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
item_nameitem_name

Name of the item

Example
Basic Magazine
Stringrequired
linklink

The name of the item's link in cases where item_name is incorrect

Example
Bullet Lifesteal (item)
Stringoptional
item_typeitem_type

Overrides default item type. See Module:ItemData

Suggested values
Weapon Vitality Spirit
Example
Spirit
Stringoptional
item_priceitem_price

Overrides default item price. See Module:ItemData

Example
500
Numberoptional