Template:UpgradeIcon: Difference between revisions

From Melvor Idle
(Added new template for quickly in-lining upgrade links similar to the ItemIcon template I just made.)
 
(Added a non-linebreaking space to prevent icon and link from being split up)
Line 2: Line 2:




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

Revision as of 19:42, 6 August 2020

A template for quickly building upgrade links with icons. For example, {{UpgradeIcon|Dragon Pickaxe}} becomes File:Dragon Pickaxe(upgrade).svg Dragon Pickaxe


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