Module:Infobox/spell/en

local p = {}

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

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

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

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

p.format = { {       title = {arg="name", desc=[=[Name of the spell.]=]}, {       },        {        	{[=[Mod]=], {arg="mod", desc=[=[The mod the spell belongs to.]=]}}, {[=[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. The ticks template can be used for readability.]=]}}, {[=[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