Module:Infobox/spell

local p = {}

p.docLead = [=[ It is used to document  ]=]

local tiers = { novice = [=[ Novice ]=], basic = [=[ Novice ]=], apprentice = [=[ Apprentice ]=], advanced = [=[ Advanced ]=], master = [=[ Master ]=], unknown = [=[ Unknown ]=] }

local elements = { magic = [=[ Magic ]=], fire = [=[ Fire ]=], ice = [=[ Ice ]=], lightning = [=[ Lightning ]=], necromancy = [=[ Necromancy ]=], earth = [=[ Earth ]=], sorcery = [=[ Sorcery ]=], healing = [=[ Healing ]=], unknown = [=[ Unknown ]=] }

local types = { attack = [=[ Attack ]=], defence = [=[ Defence ]=], utility = [=[ Utility ]=], minion = [=[ Minion ]=], unknown = [=[ Unknown ]=] }

p.format = { {       title = {arg="name", desc=[=[ Name of the spell. ]=]},       {            {{arg="image", type="image", desc=[=[ The big picture. ]=] } },           {[=[ Type ]=], {arg="type", type="switch", allowedValues = types, desc=[=[ Type of the spell. ]=]}},           {[=[ Tier ]=], {arg="tier", type="switch", allowedValues = tiers, desc=[=[ Tier of the spell. ]=]}},           {[=[ Element ]=], {arg="element", type="switch", allowedValues = elements, desc=[=[ Element of the spell. ]=]}}       },        {            {[=[ Mana Cost ]=], {arg="mana", desc=[=[ Mana Cost to cast the spell, add a "/second" if the spell is continuous. ]=]}},           {[=[ Cooldown ]=], {arg="cd", desc=[=[ The spell's cooldown time in ticks. ]=]}},           {[=[ Usable by Wizards ]=],{arg="wizard", desc = [=[ Whether Wizard mobs can use this spell. Preferably Yes or No. ]=]}} }   },    {        name="Technical", title = [=[ Technical details ]=], {           {[=[ Registry name ]=], {arg="registryname", desc = [=[ The spell's registry name. ]=]}},           {[=[ First appearance ]=], {arg="firstappearance", desc = [=[ The version string that the spell first appeared in. ]=]}},           {[=[ Last appearance ]=], {arg="lastappearance", desc = [=[ The version string that the spell last appeared in. ]=]}}       }    } }

p.examples = { { [=[

]=]} }

return p