Template:Spell cost table

From Old School RuneScape Wiki
Jump to: navigation, search
Spell cost
Template documentation
This documentation is transcluded from Template:Spell cost table/doc. [edit] [purge]
Template:Spell cost table invokes function main in Module:Spell cost table using Lua.
Template:Spell cost table invokes Module:Spell cost table using Lua.

Creates a table for cost of casting a spell. Automatically calculates additional costs for combo runes and staves.

To hide the staff section for any reason, add the parameter nostaff with any value. Similarly, to hide the offhand section, add the nooffhand parameter.

{{Spell cost table
|Rune# = <name> (without rune)
|Rune#num = amount

Example (from Fire Wave)

{{Spell cost table
|Rune1 = fire
|Rune1num = 7
|Rune2 = air
|Rune2num = 5
|Rune3 = blood
|Rune3num = 1

Spell cost
7Fire rune.png5Air rune.png1Blood rune.png487
Combo runes
7Fire rune.png1Blood rune.png5Dust rune.png497
5Air rune.png1Blood rune.png7Lava rune.png487
1Blood rune.png7Smoke rune.png945
5Air rune.png1Blood rune.png7Steam rune.png949
7Fire rune.png1Blood rune.png5Mist rune.png1,002
7Fire rune.png1Blood rune.pngStaff of air.pngAlt462
5Air rune.png1Blood rune.pngStaff of fire.pngAlt452
1Blood rune.pngSmoke battlestaff.png427
Main and off-hands
5Air rune.png1Blood rune.pngTome of fire.png452
1Blood rune.pngStaff of air.pngAltTome of fire.png427