Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:ISalvageRaw/doc"

From Paragon Wiki Archive
Jump to: navigation, search
m (fix links)
(Documented optional icon size.)
Line 4: Line 4:
  
 
==Usage==
 
==Usage==
:'''<nowiki>{{</nowiki>ISalvageRaw|'''''salvage name'''''}}'''
+
:'''<nowiki>{{</nowiki>ISalvageRaw|'''''salvage name'''''|'''''icon size'''''}}'''
  
where ''salvage name'' is the name of the salvage, as spelled out in the game.  Sorry, there are no abbreviations.
+
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 [[Template:ISalvage|<nowiki>{{</nowiki>ISalvage}}]]. 
  
 
==Examples==
 
==Examples==
Line 14: Line 18:
 
<pre>{{ISalvageRaw|Volume of the Obsidian Librum}}</pre>
 
<pre>{{ISalvageRaw|Volume of the Obsidian Librum}}</pre>
 
{{ISalvageRaw|Volume of the Obsidian Librum}}
 
{{ISalvageRaw|Volume of the Obsidian Librum}}
 +
 +
<pre>{{ISalvageRaw|Photonic Weapon|60}}</pre>
 +
{{ISalvageRaw|Photonic Weapon|60}}
  
 
==See Also==
 
==See Also==

Revision as of 03:13, 4 July 2009

This is a documentation subpage for Template:ISalvageRaw (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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}}

Salvage Boresight.png Boresight

{{ISalvageRaw|Volume of the Obsidian Librum}}

Salvage Demonlogica.png Volume of the Obsidian Librum

{{ISalvageRaw|Photonic Weapon|60}}

Salvage RiktiPlasmaRifle.png 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.