Template:SpellCost/doc

From Darkan
Jump to navigation Jump to search

Template Documentation

The SpellCost template calculates the cost for the number of runes specified. The cost of each rune is based on real-time market prices on the Grand Exchange Market Watch. Used for calculating the costs of Magic spells.

Usage

{{SpellCost
  | Soul   = number of Soul runes
  | Blood  = number of Blood runes
  | Death  = number of Death runes
  | Law    = number of Law runes
  | Astral = number of Astral runes
  | Nature = number of Nature runes
  | Chaos  = number of Chaos runes
  | Cosmic = number of Cosmic runes
  | Body   = number of Body runes
  | Earth  = number of Earth runes
  | Fire   = number of Fire runes
  | Water  = number of Water runes
  | Mind   = number of Mind runes
  | Air    = number of Air runes
}}

Notes/Bugs

Using spaces within the template parameters seem to result in an error within the template. Therefore, the use of spaces is strictly discouraged. See the example below for clarification.

Example

The following is an example of using the template:

{{SpellCost|Air=5|Law=1}}

Produces the following result: 189