Template:ItemIcon/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
mNo edit summary
Tag: Manual revert
Mixorio (talk | contribs)
m Undo revision 9696 by Mgpt (talk) pls don't undo, expanding the template's capabilities for the future is not a crime
Line 16: Line 16:
; p2 : Custom name (optional).
; p2 : Custom name (optional).
; size : Size (optional). Default is 20px.
; size : Size (optional). Default is 20px.
; icon : Custom icon (optional)
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 17:18, 6 October 2024

Usage

{{ItemIcon|Basic Magazine}}

Basic Magazine

{{ItemIcon|Basic Magazine|Custom}}

Custom

Parameters

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