Module:Arceuus library book calculator/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{documentation}} {{:User:Faison/Template/Invokes|page=Calculator:Arceuus_library_book/Template}} {| class="wikitable" !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.<br> Valid arguments from the calculator: <code>skill = 'Magic' or 'Runecraft', inputType/targetType = 'Level' or 'Experience', currentLevel/targetLevel = 1 – 126, currentExperience/targetExperience = 1...") |
(No difference)
|
Latest revision as of 23:59, 16 October 2024
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.
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:
|
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:
|
p.buildTable(skill, itemData) | table | Renders the results of p._main to a table.Valid arguments:
|