Difference between revisions of "Template:ISalvageImage"

From Paragon Wiki
Jump to: navigation, search
(attempting to fix)
(fixing oops)
Line 4: Line 4:
 
|default=
 
|default=
 
|format=template
 
|format=template
|template=SMWEcho}}}}|{{#ifexist:{{{1}}} Salvage|{{#ask: [[{{{1}}} Salvage]]
+
|template=SMWEcho}}}}|{{#ask: [[{{{1}}} Salvage]]
 
|?Image#-
 
|?Image#-
 
|limit=1
 
|limit=1

Revision as of 20:31, 4 January 2015

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.

Usage

{{ISalvageImage|salvage name|optional parameters}}

where:

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.

Examples

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

See also