Template:ItemIcon: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
Created page with "<includeonly><span style="position: relative; bottom: 2px;"><span style="filter: brightness(0) saturate(100%);">[[File:{{{1|}}}.png|link={{{1|}}}|{{{size|{{{2|20px}}}}}}]]</span> [[{{{1|}}}]]</span></includeonly><noinclude>{{Documentation}} Category:Icon templates</noinclude>"
 
Mgpt (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly><span style="position: relative; bottom: 2px;"><span style="filter: brightness(0) saturate(100%);">[[File:{{{1|}}}.png|link={{{1|}}}|{{{size|{{{2|20px}}}}}}]]</span> [[{{{1|}}}]]</span></includeonly><noinclude>{{Documentation}}
<includeonly><span style="position: relative; bottom: 2px; filter: brightness(0) saturate(100%);">[[File:{{{1|}}}.png|link={{{1|}}}|{{{size|{{{2|20px}}}}}}]]</span> [[{{{1|}}}]]</includeonly><noinclude>{{Documentation}}
[[Category:Icon templates]]</noinclude>
[[Category:Icon templates]]</noinclude>

Revision as of 18:49, 18 September 2024

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

Usage

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

Examples

{{ItemIcon|Basic Magazine}}

Basic Magazine

{{ItemIcon|Basic Magazine|Custom}}

Custom Basic Magazine

Parameters

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