Module:Inventory: 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

14 October 2024

  • curprev 05:0305:03, 14 October 2024Eq talk contribs 2,603 bytes +2,603 Created page with "-- <pre> local p = {} local hasc = require('Module:Paramtest').has_content function formatAmount(_x) local x = tonumber(_x) or 1 if x < 100000 then return x, 'qty-1' elseif x < 10000000 then return tostring(math.floor(x/1000))..'K', 'qty-100k' else return tostring(math.floor(x/1000000))..'M', 'qty-10m' end end function p.main(frame) local bgType = frame.args.bgType if bgType == nil then bgType = "inventory"..."