Template:ItemIcon/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
cat, format |
||
(4 intermediate revisions by 2 users not shown) | |||
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 5: | Line 8: | ||
{{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 | ; p2 : Custom name (optional). | ||
<noinclude>[[Category:Template documentation]]</noinclude> | ; size : Size (optional). Default is 20px. | ||
; icon : Custom icon (optional) | |||
<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}}
{{ItemIcon|Basic Magazine|Custom}}
Parameters[edit source]
- p1
- Item name (required).
- p2
- Custom name (optional).
- size
- Size (optional). Default is 20px.
- icon
- Custom icon (optional)