Module:Sandbox/User:Speeddymon/Module:Skill info/presets: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

17 October 2024

  • curprev 00:1300:13, 17 October 2024Alex talk contribs 10,352 bytes +10,352 Created page with "local p = {} local paramtest = require('Module:Paramtest') local yesno = require('Module:Yesno') local default = paramtest.default_to -- string.lower which also accepts `nil` values without erroring function lc(str) return str and string.lower(str) end -- array contains val function contains(tbl, val) for _, item in ipairs(tbl) do if item == val then return true end end return false end -- multiply num by mul, rounded to 1 decimal function times(num, mul)..."