Open main menu

UESPWiki β

Template:Spell Definition

Summary

Defines a spell by saving its details to the database for retrieval on other pages using the #load mechanism.

It also adds the page to certain categories, depending on its type:

For type=blight
{{NS_CATEGORY}}-Blight-Diseases
For type=disease
{{NS_CATEGORY}}-Diseases
Otherwise
{{NS_CATEGORY}}-Spells and {{NS_CATEGORY}}-Spells-{{{school}}}

Regardless of type, it also adds the page to: Redirects to Broader Subjects.

Apart from the above categories, the template produces no output.

Parameters

Spell Definition
Parameter Scope Description
id required The construction set id of the spell.
name required Full name of the spell. Typically this will be the same as the page name, but may be different if two spells share a name or if the name contains characters that are invalid in wiki page names.
school optional School of magicka to which the spell belongs: Alteration, Conjuration, Destruction, Illusion, Mysticism or Restoration.
type optional Type of spell, based on the construction set: ability, addiction, blight, curse, disease, lesser power, poison, power, spell or voice power; equivalent to "spell" if left blank.
cost optional Base magicka cost of casting the spell.
effect1 required Name of the first effect of the spell.
effect1Link optional Page name describing the spell if different from the name.
effect1Range required Range of the spell: Self, Touch, Target.
effect1Duration optional Duration in seconds of the spell.
effect1Area optional Area of effect of the spell in feet.
effect1Min optional Minimum magnitude of the spell.
effect1Max optional Maximum magnitude of the spell if different.
effect(2-8) optional Name of the other effects of the spell.
effect(2-8)Link optional
effect(2-8)Range optional
effect(2-8)Duration optional
effect(2-8)Area optional
effect(2-8)Min optional
effect(2-8)Max optional