Template:Spell cost table/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:Spell cost table.
It contains usage information, categories, and other content that is not part of the original template page.
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
InputCost
7Fire rune.png5Air rune.png1Blood rune.png486
Combo runes
7Fire rune.png1Blood rune.png5Dust rune.png496
5Air rune.png1Blood rune.png7Lava rune.png486
1Blood rune.png7Smoke rune.png944
5Air rune.png1Blood rune.png7Steam rune.png948
7Fire rune.png1Blood rune.png5Mist rune.png1,011
Main-hands
7Fire rune.png1Blood rune.pngStaff of air.pngAlt461
5Air rune.png1Blood rune.pngStaff of fire.pngAlt451
1Blood rune.pngSmoke battlestaff.png426
Main and off-hands
5Air rune.png1Blood rune.pngTome of fire.png451
1Blood rune.pngStaff of air.pngAltTome of fire.png426