Template:ISalvageImage/doc

From Homecoming Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:ISalvageImage (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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