Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:ISalvageImage"

From Paragon Wiki Archive
Jump to: navigation, search
(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}}
Salvage Boresight.png
{{ISalvageImage|Alchemical Silver|30px}}
Salvage AlchemicalSilver.png