This is the documentation page for Module:Arceuus library book calculator

This is a documentation subpage for Module:Arceuus library book calculator.
It contains usage information, categories, and other content that is not part of the original module page.
Module:Arceuus library book calculator's function main is invoked by Calculator:Arceuus library book/Template.
Module:Arceuus library book calculator requires Module:Addcommas.
Module:Arceuus library book calculator requires Module:Experience.
Module:Arceuus library book calculator requires Module:SCP.
Module:Arceuus library book calculator requires Module:ScaledExperience.

User:Faison/Template/Invokes

Function Type Use
p.main(frame) table The main function to run if invoked from a template that is the results template for a calculator.

Valid arguments from the calculator: skill = 'Magic' or 'Runecraft', inputType/targetType = 'Level' or 'Experience', currentLevel/targetLevel = 1 – 126, currentExperience/targetExperience = 1 – 200000000, leagueGroup = 'true' or 'false', leagueMultiplier = 2 – 32

p._main(args) table Figures out the Level multiplier and the number of books needed to reach a target level or target XP.

Valid arguments: { skill = 'Magic' or 'Runecraft', inputType/targetType = 'Level' or 'Experience', currentLevel/targetLevel = 1 – 126, currentExperience/targetExperience = 1 – 200000000, leagueGroup = 'true' or 'false', leagueMultiplier = 2 – 32 }

p.buildTable(skill, itemData) table Renders the results of p._main to a table.

Valid arguments: { skill = 'Magic' or 'Runecraft', itemData { ['name'] = ' ' , ['link'] = ' ', ['file'] = ' ', ['data'] = scaledExperience.xp_to_xp_actions(currentExperience, targetExperience, levelMultiplier) } }