Template:Item icon

From FHX Wiki
Revision as of 22:53, 30 June 2024 by Ryzuhr (talk | contribs) (Created page with "<includeonly>[[File:{{#ifexist: File:{{{1}}} icon.png|{{{1}}} icon.png|{{#ifexist: File:{{{1}}} icon.gif|{{{1}}} icon.gif|missing icon.png}}}}|{{#switch:{{{2}}}|big=50|huge=100|#default=32}}px|link={{{1}}}]] [[{{{1}}}]]</includeonly><noinclude> == Description == <pre>{{item icon|<item name>}}</pre> Displays a link to the item and adds an icon in front of it. === Parameters === ;1 ''(unnamed parameter)'' : Item name. ;2 ''(unnamed parameter)'' : Icon size. Options: "bi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

{{item icon|<item name>}}

Displays a link to the item and adds an icon in front of it.

Parameters

1 (unnamed parameter)
Item name.
2 (unnamed parameter)
Icon size. Options: "big" (48px), "huge" (100px), or, blank (32px) - which is the default size.

Examples