Template:Spell

From Fax Encyclopedicus

Jump to: navigation, search

This template is used to create spell (or similar) entries. The syntax is as follows; italics entries are optional.

{{Spell
  | type        = The type of effect being described. Defaults to "Spells"; 
                  used for categorizing, so use plurals.
  | name        = The spell's name. Defaults to the page's name.
  | school      = The spell's school. If omitted, the School line is omitted
                  (including sub-school and descriptors).
  | subschool   = The spell's sub-school. The parentheses are added by the template.
  | desc        = The spell's descriptor(s). Brackets are added by the template.
  | comp        = The spell's components. Defaults omitted.
  | time        = The spell's casting time. Defaults omitted.
  | range       = The spell's range. Defaults omitted.
  | target      = The spell's target. Defaults omitted.
  | area        = The spell's area. Defaults omitted.
  | effect      = The spell's effect. Defaults omitted.
  | dur         = The spell's duration. Defaults omitted.
  | save        = The spell's saving throw(s). Defaults omitted.
  | SR          = "yes" or "no" to whether SR applies. Defaults omitted.
  | class1      = The first class that can use the spell. Defaults omitted,
                  and omits all classes and levels below.
  | class1level = The spell's level for the first class
  | class2      = Second class
  | class2level = Second class's spell level
  ...
  | class9      = Ninth class
  | class9level = Ninth class's spell level
  | classX      = Tenth class; template only supports 10 classes
  | classXlevel = Tenth class's spell level
  | level       = Spell level, not tied to a class.
                  Used only if no classes are used.
  | nocat       = If set at all, page with this template is
                  not categorized at all.
  | noclasscat  = If set at all, page with this template is
                  not added to each class's categories.
  | nolevelcat  = If set at all, page with this template is
                  not added to each level's categories.
}}

Any time class# is used, the corresponding class#level must also be assigned. The level parameter is ignored if class1 is set, unless noclasscat is set and nolevelcat is not, in which case it may be used for categorization. If any class# is not set, all greater numbers are ignored.

This template assigns pages to the Category:Spells category (assuming type is left to default), and to the individual categories given by "class# Spells" and "class# Spells (Level class#level)". To remove this behavior, use nocat, noclasscat, and/or nolevelcat (primarily used when a page has a list of spells and to use these categories would insert the page in every level's category). Templates are never categorized in this manner.

Example

{{Spell
  | name = Magic Missile
  | school = Evocation
  | desc = Force
  | class1 = Sorcerer
  | class1level = 1
  | class2 = Wizard
  | class2level = 1
  | comp = V, S
  | time = 1 standard action
  | range = Medium (100 ft. + 10 ft./level)
  | target = Up to five creatures, no two of which can be more than 15 ft. apart
  | dur = Instantaneous
  | save = None
  | SR = Yes
}}

Magic Missile

Evocation [Force]

  • Level: Sorcerer 1, Wizard 1
  • Components: V, S
  • Casting Time: 1 standard action
  • Range: Medium (100 ft. + 10 ft./level)
  • Target: Up to five creatures, no two of which can be more than 15 ft. apart
  • Duration: Instantaneous
  • Saving Throw: None
  • Spell Resistance: Yes

See Also

Personal tools
Google AdSense