Template:ItemIcon

From Melvor Idle
Revision as of 14:19, 10 August 2020 by Falterfire (talk | contribs) (Added override to allow changing of link.)

A template for quickly building item links with icons. For example, {{ItemIcon|Compost}} becomes Compost (item).svg Compost.

Adding a second argument allows you to override the text. For example, {{ItemIcon|Generous Harvest Potion I|Generous Harvest Potion}} gives Generous Harvest Potion I (item).svg Generous Harvest Potion


[[File:{{{1}}} (item).svg|25px|link={{{1}}}]] [[{{{1}}}]]