Template:ISalvageImage

From Homecoming Wiki
Revision as of 20:30, 4 January 2015 by imported>Sekoia (historical) (attempting to fix)
Jump to navigation Jump to search

[[{{#if:|File:Icon clue generic.png|24px|]]

[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}}
"{{#if:[[SMW" contains a listed "[" character as part of the property label and has therefore been classified as invalid.File:Salvage Boresight.png|File:Salvage Boresight.png|24px|]]
{{ISalvageImage|Alchemical Silver|30px}}
"{{#if:[[SMW" contains a listed "[" character as part of the property label and has therefore been classified as invalid.File:Salvage AlchemicalSilver.png|File:Salvage AlchemicalSilver.png|24px|30px]]

See also