Template:ISalvageImage: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Fleeting Whisper
mNo edit summary
imported>Lin Chiao Feng
(Moved documentation out.)
Line 98: Line 98:
|Unquenchable Flame=UnquenchableFlame
|Unquenchable Flame=UnquenchableFlame
|Volume of the Obsidian Librum=Demonlogica
|Volume of the Obsidian Librum=Demonlogica
|{{{1}}}}}}}.png|{{{2}}}]]<noinclude>
|{{{1}}}}}}}.png|{{{2}}}]]<noinclude>{{Documentation}}</noinclude>
 
Given the name of an invention salvage, returns an icon for the salvage.  The second parameter is passed to the <nowiki>[[Image:...|]]</nowiki> as an additional parameter.
 
==Examples==
{|class="wikitable"
| <pre>{{ISalvageImage|Boresight}}</pre> || {{ISalvageImage|Boresight}}
|-
| <pre>{{ISalvageImage|Alchemical Silver|30px}}</pre> || {{ISalvageImage|Alchemical Silver|30px}}
|}
</noinclude>

Revision as of 03:25, 4 July 2009

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

[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}}
{{{2}}}
{{ISalvageImage|Alchemical Silver|30px}}
Salvage AlchemicalSilver.png

See also