Category:Invention Salvage Templates

From Homecoming Wiki
Revision as of 12:09, 20 February 2008 by imported>Sekoia (historical) (→‎Drop Template: getting rid of inappropriate cats)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

This category has several sets of templates for providing information on an Invention Salvage page.

All Invention Salvage pages should get three templates on them:

Drop Template

The {{InvSalvage Drop}} template must be provided on each page. It should be used in one of three ways, depending on the salvage's rarity:

Template Call Result
{{InvSalvage Drop|Common}} This salvage is Common.
{{InvSalvage Drop|Uncommon}} This salvage is Uncommon.
{{InvSalvage Drop|Rare}} This salvage is Rare.

Using this template will place the salvage in the appropriate category, and will help facilitate DPL usage.

Level and Enemy Convenience Templates

The other templates that must be included can be included easily through one of six convenience templates. In order to properly facilitate DPL queries, these templates should be subst'd into the article.

Template Call Use
{{subst:InvSalvage LowArcane}} Low-level Arcane Salvage
{{subst:InvSalvage LowTech}} Low-level Tech Salvage
{{subst:InvSalvage MidArcane}} Mid-level Arcane Salvage
{{subst:InvSalvage MidTech}} Mid-level Tech Salvage
{{subst:InvSalvage HighArcane}} High-level Arcane Salvage
{{subst:InvSalvage HighTech}} High-level Tech Salvage

These templates will place one of each of the other two types of templates on the page.

Level Templates

There are three level-range templates. One of these templates must be included on each Invention Salvage page. The templates have one required argument, which must be either "Arcane" or "Technological". They should be used as follows:

Template Call Use
{{InvSalvage Level Low|Arcane}} Low-level Arcane Salvage
{{InvSalvage Level Low|Technological}} Low-level Tech Salvage
{{InvSalvage Level Mid|Arcane}} Mid-level Arcane Salvage
{{InvSalvage Level Mid|Technological}} Mid-level Tech Salvage
{{InvSalvage Level High|Arcane}} High-level Arcane Salvage
{{InvSalvage Level High|Technological}} High-level Tech Salvage

These will also add the appropriate level category to the article.

Enemy Templates

Each Invention Salvage article must also have a template indicating whether it is technological or arcane. Note that this is separate from the Level-based ones. The Level based one do not provide the arcane/tech category, and they do not provide the needed information for DPL.

Template Call Use
{{InvSalvage Enemy Arcane}} Arcane Salvage
{{InvSalvage Enemy Tech}} Technological Salvage

There's also an additional template, {{InvSalvage Enemy Both}}. This template shouldn't be used directly in Salvage pages, as it is included in the Arcane and Tech versions.