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
(Making automatically up-to-date using SMW)
(attempting to fix for salvages with disambig pages instead of redirects)
Line 1: Line 1:
[[{{#if:{{#ifexist:{{{1}}}|{{#show:{{{1}}}|?Image#-|default=}}}}|{{#show:{{{1}}}|?Image#-|limit=1}}|File:Icon clue generic.png}}|24px|{{{2|}}}]]<noinclude>{{Documentation}}</noinclude>
[[{{#if:{{#ifexist:{{{1}}} Salvage|{{#show:{{{1}}} Salvage|?Image#-|default=}}}}|{{#show:{{{1}}} Salvage|?Image#-|limit=1}}|File:Icon clue generic.png}}|24px|{{{2|}}}]]<noinclude>{{Documentation}}</noinclude>

Revision as of 00:18, 4 January 2013

Icon clue generic.png
[edit] [purge] Documentation

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.


{{ISalvageImage|salvage name|optional parameters}}


salvage name
This is the name of the salvage, as spelled out in the game. Sorry, there are no abbreviations.
optional parameters
Optional parameters passed to the MediaWiki [[Image:...|]] tag. See its documentation for details.


Salvage Boresight.png
{{ISalvageImage|Alchemical Silver|30px}}
Salvage AlchemicalSilver.png

See also