Difference between revisions of "Template:Item icon"

From Isleward Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="item-icon">[[File:{{{icon|{{{1|Missing}}}.png}}}|32px|link={{{link|{{{1|none}}}}}}]]</span> [[{{{2|{{{1}}}}}}]]</includeonly><noinclude>
+
<includeonly><span style="background-color:#2D2136;display:inline-block;width:32px;height:32px">[[File:{{#replace:{{{icon|{{{1|Missing}}}.png}}}|File:|}}|32px|link={{{link|{{{1|none}}}}}}]]</span> [[{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==

Latest revision as of 20:48, 22 July 2022


Usage[edit]

{{item icon|<item name>}}

Parameters[edit]

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

Examples[edit]