Template:ISalvageImage: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Lin Chiao Feng (historical)
(New page: [[Image:{{#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 pass...)
 
imported>Lin Chiao Feng (historical)
No edit summary
Line 1: Line 1:
[[Image:{{#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:55, 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}}
File:Salvage AlchemicalSilver