Template:SpellInfo

Template
All fields are optional, some more then others ;)


 * name optional name, otherwise the page title is used (which is fine in most cases, but some spells conflict so have to be in pages like "Heal (Spell)")
 * icon should be the name of a picture of the standard NWN2 icon. Goes next to title.
 * image should be a name of picture of the spell being cast or in effect from in-game. The picture is scaled to 300 width automatically.
 * level_XXXX should be the level each class can cast it, and are all optional fields. One single digit here.
 * level_additional is for things like Clerical Domain spells, Prestige spells/abilities etc. Can be any text/links.
 * level_innate should be the innate level of the spell (monster abilities will use only this)
 * school should be the school of magic it is associated with. Do not make this a link, that is done automatically.
 * descriptor pretty much depreciated - NWN2 doesn't carry on 3.5E's descriptors. (These are things like "Evil" or "Positive")
 * components - This can be one of 4 entries: Nothing (says "None" explicitly), V (Verbal only) S (somatic only) and VS (both).
 * range should be the standard NWN2 ranges (Long, Medium, Short, Touch, Personal), or something more special in which case it will be displayed as-is and not explicitly categorised. It should be a Personal spell if it is cast on self, but has an area (area is defined below :) ). Every spell has an explicit range stated in the spells.2da file. Area usually covers things like spell cones and the like.
 * area should be the size of the area of effect or the targets of effect, if any. Note: Some have non-standard (not listed as "Large", or "Huge") sizes, and should be listed in feet if possible, although NWN2's internal engine works in meters, and quite a few abilities are still based on meters for their areas.
 * duration should be a amount of time, or whatever is appropriate to the spell. This is a text entry field which overrides duration_type except for categorisation.
 * duration_type can be either instant, veryshort, short, medium or long. These automatically input text if the duration field is absent. veryshort is for things which are typically less then 1 round / level (usually more for feats, such as Rage, however, but also see the duration of acid fog for instance). Mixed things can leave this blank, to be categorised as "Unknown/Special duration spells". If a spell has a duration stated, but it doesn't fit a category exactly, category it as best as possible (eg; lasting half a minute / level is about the same as a minute / level so call it medium duration).
 * instant - Inputs "Instantaneous"
 * veryshort - Inputs "1 Round/level"
 * short - Inputs: "1 Round/Level"
 * medium - Inputs: "1 Minute/Level"
 * long - Inputs: "1 Hour/Level"
 * save should be a standard like "Will Negates"
 * save_type is a way of categorising the saves used in a spell. It can be a set of letters representing Fortitude, Reflex, or Will, or a special H for Harmless, or S for Special:
 * H = Harmless. Used for most friendly spells. S = Special. Blank/missing entry = No save.
 * F = Fortitude only, R = Reflex Only, W = Will Only
 * FR = Fortitude and Reflex, FW = Fortitude and Will, RF = Reflex and Will
 * FRW = Fortitude, Reflex and Will.
 * spell_resistance should be Yes or No, no links.
 * hostile should be Yes or No. This signifies if casting the spell will break Invisibility or other things, and is a good indication of spells which harm the enemy or not.
 * touch_attack_type= should be "Ranged", "Melee" if the spell has a touch attack involved, for categorisation purposes. It can be left blank to be ignored.

Usage
Note: Not all the level_ variables need to be defined

Gives this result: See: Acid Fog

Old version
Spell level:

Innate level:

School:

Descriptor(s):

Components:

Range:

Target/Area:

Duration:

Save:

Spell resistance:

CSS Notes
No CSS for "infobox" from mediawiki means this kind of information was added to the style section:

.infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin: 0 0 0.5em 1em; padding: 0.2em; float: right; clear: right; }