Template:ISalvage/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
m (Template:ISalvage/Doc moved to Template:ISalvage/doc: moved for {{Documentation}})
imported>Sekoia (historical)
m (updating for {{documentation}}, +cat)
Line 1: Line 1:
{{documentation subpage}}
This template generates an invention salvage item, with a picture of the salvage, its quantity, and its name, pluralized if needed, which is a link to that salvage's page.  It does not support other types of salvage, including base salvage.
This template generates an invention salvage item, with a picture of the salvage, its quantity, and its name, pluralized if needed, which is a link to that salvage's page.  It does not support other types of salvage, including base salvage.


Line 23: Line 24:
<pre>{{ISalvage|Volume of the Obsidian Librum|2}}</pre>
<pre>{{ISalvage|Volume of the Obsidian Librum|2}}</pre>
{{ISalvage|Volume of the Obsidian Librum|2}}
{{ISalvage|Volume of the Obsidian Librum|2}}
<includeonly>
[[Category:Templates]]
</includeonly>

Revision as of 08:47, 20 February 2008

This is a documentation subpage for Template:ISalvage (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, its quantity, and its name, pluralized if needed, which is a link to that salvage's page. It does not support other types of salvage, including base salvage.

Syntax

{{ISalvage|salvage name|quantity|level range|single level}}

where:

salvage name
This is the name of the salvage, as spelled out in the game. Sorry, there are no abbreviations.
quantity
This is how many salvage is/are needed.
level range
This is the level range the salvage is used for. This is not used in the template itself, and is optional, but it allows generated "salvage used by" lists to show the applicable level range.
single level
This is the level the salvage is used for, for those recipes (costume parts and temp powers) which are only for one level. Use either this parameter or level range, but not both.

Examples

{{ISalvage|Boresight|1}}

Salvage Boresight.png 1 Boresight

{{ISalvage|Boresight|2}}

Salvage Boresight.png 2 Boresights

{{ISalvage|Volume of the Obsidian Librum|2}}

Salvage Demonlogica.png 2 Volumes of the Obsidian Librum