Template:ISalvageRaw

From City of Heroes: Rebirth - Wiki
Revision as of 03:15, 4 July 2009 by imported>Lin Chiao Feng (Fixed optional icon size support.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
[edit] [purge] Documentation


This template generates an invention salvage item, with a picture of the salvage and its name, which is a link to that salvage's page. It does not support other types of salvage, including base salvage.

Usage

{{ISalvageRaw|salvage name|icon size}}

where:

salvage name
This is the name of the salvage, as spelled out in the game. Sorry, there are no abbreviations.
icon size
This is the size of the icon, in pixels. If omitted, it defaults to 30 pixels, the same size as used in {{ISalvage}}.

Examples

{{ISalvageRaw|Boresight}}

File:Salvage Boresight.png||}}||}}|24px|30px]] Boresight

{{ISalvageRaw|Volume of the Obsidian Librum}}

File:Salvage Demonlogica.png||}}||}}|24px|30px]] Volume of the Obsidian Librum

{{ISalvageRaw|Photonic Weapon|60}}

File:Salvage RiktiPlasmaRifle.png||}}||}}|24px|60px]] Photonic Weapon

See Also

Design Notes

This template is a stripped-down version of the {{ISalvage}} template. While it is possible to modify that template to do what this template does if the quantity is omitted, that runs the risk of making that template too big, causing some pages to fail to render.

Repeat after me: I will not taunt Happy Fun Ball.