Template:ISalvageImage: Difference between revisions
Jump to navigation
Jump to search
imported>Jumping Jack (historical) No edit summary |
imported>Fleeting Whisper (historical) (unknown salvage) |
||
Line 1: | Line 1: | ||
[[Image:Salvage_{{#switch:{{{1}}} | [[Image:{{#ifeq:{{{1}}}|?|Icon clue generic|Salvage_{{#switch:{{{1}}} | ||
|Alchemical Silver=AlchemicalSilver | |Alchemical Silver=AlchemicalSilver | ||
|Alchemical Gold=AlchemicalGold | |Alchemical Gold=AlchemicalGold |
Revision as of 20:10, 7 May 2009
[[Image:{{#ifeq:{{{1}}}|?|Icon clue generic|Salvage_{{{1}}}.png|{{{2}}}]]
Given the name of an invention salvage, returns an icon for the salvage. The second parameter is passed to the [[Image:...|]] as an additional parameter.
Examples
{{ISalvageImage|Boresight}} |
[[Image:{{#ifeq:Boresight|?|Icon clue generic|Salvage_Boresight.png|{{{2}}}]] |
{{ISalvageImage|Alchemical Silver|30px}} |
[[Image:{{#ifeq:Alchemical Silver|?|Icon clue generic|Salvage_AlchemicalSilver.png|30px]] |