Template:Icon: Difference between revisions

Added Item Alchemy override
(Adding Adventure to the list of icons that use .png)
(Added Item Alchemy override)
Line 21: Line 21:
|-
|-
|<nowiki>{{Icon|Melee}}</nowiki> || {{Icon|Melee}}
|<nowiki>{{Icon|Melee}}</nowiki> || {{Icon|Melee}}
|-
|<nowiki>{{Icon|Item Alchemy}}</nowiki> || {{Icon|Item Alchemy}}
|-
|-
|<nowiki>{{Icon|Superheat}}</nowiki> || {{Icon|Superheat}}
|<nowiki>{{Icon|Superheat}}</nowiki> || {{Icon|Superheat}}
Line 63: Line 65:
         Superheat goes to a generic Superheat page but pulls the icon for Superheat IV
         Superheat goes to a generic Superheat page but pulls the icon for Superheat IV
-->{{#ifeq:{{#var:link}}|Superheat|{{#vardefine:image|Superheat IV}}{{#vardefine:type|spell}}}}<!--
-->{{#ifeq:{{#var:link}}|Superheat|{{#vardefine:image|Superheat IV}}{{#vardefine:type|spell}}}}<!--
        Item Alchemy goes to a generic Item Alchemy page but pulls the icon for Item Alchemy III
-->{{#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|Manta Ray}}{{#vardefine:type|item}}}}<!--