Template:ItemIcon/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
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
Sylphoid (talk | contribs)
cat, format
 
Line 1: Line 1:
== Usage ==
== Usage ==
This icon template is used to create a small picture associated with an item.
== Examples ==
<pre style="width:50%">
<pre style="width:50%">
{{ItemIcon|Basic Magazine}}
{{ItemIcon|Basic Magazine}}
Line 17: Line 20:
; size : Size (optional). Default is 20px.
; size : Size (optional). Default is 20px.
; icon : Custom icon (optional)
; icon : Custom icon (optional)
<noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Icon templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 07:23, 30 October 2024

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)