Template:ItemBox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Shatangmi (talk | contribs)
darkened background of soul cost for readability, increased vertical spacing for icons
Saag (talk | contribs)
Added margin to keep ItemBox away from its table group
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<div style="display:inline-block">
<div style="display:inline-block; margin-left: 5px">
{|- style="text-align:center; border-collapse:collapse; border-radius: 7px; width:100px; max-width:200px; height:2px; font-size: 12px;{{
{|- style="text-align:center; border-collapse:collapse; border-radius: 7px; width:100px; max-width:200px; height:2px; font-size: 12px;{{
#switch: {{{item_type}}}|
#switch: {{{item_type}}}|

Revision as of 11:44, 3 September 2024

Souls {{{item_price}}}
[[File:{{{item_name}}}.png|50px|link={{{item_name}}}]]
[[{{{item_name}}}]]


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


Souls 1250
Bullet Lifesteal
Souls 500
Basic Magazine
Souls 1250
Improved Cooldown

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
item_nameitem_name

Name of the item

Example
Basic Magazine
Stringrequired
item_typeitem_type

What category of Item is this?

Suggested values
Weapon Vitality Spirit
Example
Spirit
Stringrequired
item_priceitem_price

How much does this item cost in souls?

Example
500
Numberrequired
display_namedisplay_name

The display name of the item (for special cases such as Bullet Lifesteal (item) or Spirit Lifesteal (item))

Example
Bullet Lifesteal
Stringoptional