Jump to content

Template:ItemIcon: Difference between revisions

From Deadlock Wiki
Gammaton32 (talk | contribs)
brightness 100
Gammaton32 (talk | contribs)
No edit summary
 
Line 1: Line 1:
<includeonly><span style="white-space:nowrap;"><span style="position:relative; brightness=100; bottom:2px;">[[File:{{{icon|{{{1|}}}}}}.png|link={{#switch:{{{1|}}}
<includeonly><span style="white-space:nowrap;"><span style="position:relative; filter: brightness(100); bottom:2px;">[[File:{{{icon|{{{1|}}}}}}.png|link={{#switch:{{{1|}}}
|Bullet Lifesteal = Bullet Lifesteal (item)
|Bullet Lifesteal = Bullet Lifesteal (item)
|Spirit Lifesteal = Spirit Lifesteal (item)
|Spirit Lifesteal = Spirit Lifesteal (item)

Latest revision as of 05:03, 30 January 2025

Template documentation [view] [edit] [history] [purge]

Usage[edit source]

This icon template is used to create a small picture associated with an item.

Examples[edit source]

{{ItemIcon|Basic Magazine}}

Basic Magazine

{{ItemIcon|Basic Magazine|Custom}}

Custom

Parameters[edit source]

p1
Item name (required).
p2
Custom name (optional).
size
Size (optional). Default is 20px.
icon
Custom icon (optional)