Template:ItemIcon: Difference between revisions

From Melvor Idle
(Created a new template to allow easily linking Item Icons on pages.)
 
(Added a non-linebreaking space to prevent icon and link from being split up)
Line 2: Line 2:




<onlyinclude>[[File:{{{1}}} (item).svg|25px|link={{{1}}}]] [[{{{1}}}]]</onlyinclude>
<onlyinclude>[[File:{{{1}}} (item).svg|25px|link={{{1}}}]]&nbsp;[[{{{1}}}]]</onlyinclude>

Revision as of 19:43, 6 August 2020

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


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