Template:ItemIcon/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
mNo edit summary
Mgpt (talk | contribs)
mNo edit summary
Line 5: Line 5:


{{ItemIcon|Basic Magazine}}
{{ItemIcon|Basic Magazine}}
<pre style="width:50%">
{{ItemIcon|Basic Magazine|Custom}}
</pre>
{{ItemIcon|Basic Magazine|Custom}}


=== Parameters ===
=== Parameters ===
; p1 : Item name (required).
; p1 : Item name (required).
; p2 or size : Size (optional). Default is 20px.
; p2 : Custom name (optional).
; size : Size (optional). Default is 20px.
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 20:22, 18 September 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.