Template:Power

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.

{{Power
  | type        = The type of effect being described. Defaults to "Powers"; 
                  used for categorizing, so use plurals.
  | name        = The power's name. Defaults to the page's name.
  | disc        = The power's discipline. If omitted, the Discipline line is omitted
                  (including sub-discipline and descriptors).
  | subdisc     = The power's sub-discipline. The parentheses are added by the template.
  | desc        = The power's descriptor(s). Brackets are added by the template.
  | disp        = The power's display. Defaults omitted.
  | time        = The power's manifesting time. Defaults omitted.
  | range       = The power's range. Defaults omitted.
  | target      = The power's target. Defaults omitted.
  | area        = The power's area. Defaults omitted.
  | effect      = The power's effect. Defaults omitted.
  | dur         = The power's duration. Defaults omitted.
  | save        = The power's saving throw(s). Defaults omitted.
  | PR          = "yes" or "no" to whether PR applies. Defaults omitted.
  | PP          = The power's base Power Point cost. Defaults omitted.
  | class1      = The first class that can use the power. Defaults omitted,
                  and omits all classes and levels below.
  | class1level = The power's level for the first class
  | class2      = Second class
  | class2level = Second class's power level
  ...
  | class9      = Ninth class
  | class9level = Ninth class's power level
  | classX      = Tenth class; template only supports 10 classes
  | classXlevel = Tenth class's power level
  | level       = Power 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:Powers category (assuming type is left to default), and to the individual categories given by "class# Powers" and "class# Powers (Level class#level)". To remove this behavior, use nocat, noclasscat, and/or nolevelcat (primarily used when a page has a list of powers and to use these categories would insert the page in every level's category). Templates are never categorized in this manner.

Example

{{Power
  | name = Energy Ray
  | disc = Psychokinesis
  | desc = see text
  | class1 = Psion
  | class1level = 1
  | class2 = Wilder
  | class2level = 1
  | disp = Auditory
  | time = 1 standard action
  | range = Close (25 ft. + 5 ft./2 levels)
  | effect = Ray
  | dur = Instantaneous
  | save = None
  | PR = Yes
  | PP = 1
}}

Energy Ray

Psychokinesis [see text]

  • Level: Psion 1, Wilder 1
  • Display: Auditory
  • Manifesting Time: 1 standard action
  • Range: Close (25 ft. + 5 ft./2 levels)
  • Effect: Ray
  • Duration: Instantaneous
  • Saving Throw: None
  • Power Resistance: Yes
  • Power Points: 1

See Also

Personal tools
Google AdSense