Anonymous

Template:Icon: Difference between revisions

From Melvor Idle
m
Alter override for Generous Resupply
(Added Item Alchemy override)
m (Alter override for Generous Resupply)
Line 68: Line 68:
-->{{#ifeq:{{#var:link}}|Item Alchemy|{{#vardefine:image|Item Alchemy III}}{{#vardefine:type|spell}}}}<!--
-->{{#ifeq:{{#var:link}}|Item Alchemy|{{#vardefine:image|Item Alchemy III}}{{#vardefine:type|spell}}}}<!--
         Special case to handle Basic/Standard/Generous Resupply shop items, which unusually are neither items nor upgrades
         Special case to handle Basic/Standard/Generous Resupply shop items, which unusually are neither items nor upgrades
-->{{#switch:{{#var:link}}|Basic Resupply={{#vardefine:image|Lobster}}{{#vardefine:type|item}}|Standard Resupply={{#vardefine:image|Crab}}{{#vardefine:type|item}}|Generous Resupply={{#vardefine:image|Manta Ray}}{{#vardefine:type|item}}}}<!--
-->{{#switch:{{#var:link}}|Basic Resupply={{#vardefine:image|Lobster}}{{#vardefine:type|item}}|Standard Resupply={{#vardefine:image|Crab}}{{#vardefine:type|item}}|Generous Resupply={{#vardefine:image|Shark}}{{#vardefine:type|item}}}}<!--
         Golbin + monster icon type links directly to Golbin (monster) to skip disambiguation page
         Golbin + monster icon type links directly to Golbin (monster) to skip disambiguation page
-->{{#ifeq:{{#var:link}}|Golbin|{{#ifeq:{{#var:type}}|monster|{{#vardefine:link|Golbin (monster)}}}}}}<!--
-->{{#ifeq:{{#var:link}}|Golbin|{{#ifeq:{{#var:type}}|monster|{{#vardefine:link|Golbin (monster)}}}}}}<!--