Template:ISalvageImage: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Lin Chiao Feng
No edit summary
imported>Lin Chiao Feng
No edit summary
Line 1: Line 1:
[[Image:Salvage_{{#switch:{{{1}}}|Alchemical Silver=AlchemicalSilver|{{{1}}}}}.png|{{{2}}}]]<noinclude>
[[Image:Salvage_{{#switch:{{{1}}}
|Alchemical Silver=AlchemicalSilver
|{{{1}}}}}.png|{{{2}}}]]<noinclude>


Given the name of a salvage, returns an icon for the salvage.  The second parameter is passed to the <nowiki>[[Image:...|]]</nowiki> as an additional parameter.
Given the name of a salvage, returns an icon for the salvage.  The second parameter is passed to the <nowiki>[[Image:...|]]</nowiki> as an additional parameter.

Revision as of 14:58, 22 April 2007

[[Image:Salvage_{{{1}}}.png|{{{2}}}]]

Given the name of a salvage, returns an icon for the salvage. The second parameter is passed to the [[Image:...|]] as an additional parameter.

Examples

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