Difference between revisions of "Template:Item icon"

From Isleward Wiki
Jump to navigation Jump to search
Line 1: Line 1:
[[File:{{{icon|{{{1|Missing}}}.png}}}|32px|link={{{link|{{{1|none}}}}}}]] [[{{{name|{{{1}}}}}}]]
+
<includeonly><span class="item-icon">[[File:{{{icon|{{{1|Missing}}}.png}}}|32px|link={{{link|{{{1|none}}}}}}]]</span> [[{{{2|{{{1}}}}}}]]</includeonly><noinclude>
 +
 
 +
== Usage ==
 +
<pre>{{item icon|<item name>}}</pre>
 +
 
 +
== Parameters ==
 +
; ''parameter 1''
 +
: Item to link to
 +
; ''parameter 2''
 +
: Link text, defaults to the item name
 +
; icon
 +
: Icon to use
 +
 
 +
</noinclude>

Revision as of 10:09, 28 December 2021


Usage

{{item icon|<item name>}}

Parameters

parameter 1
Item to link to
parameter 2
Link text, defaults to the item name
icon
Icon to use