10:4310:43, 25 July 2024diffhist+247 N
Template:Signed number
Created page with "<includeonly><!-- -->{{#formatnum:{{#ifexpr:{{{1|x}}}>0|<!-- -->+{{{1|}}}<!-- -->|<!-- -->{{{1|}}}<!-- -->}}}}<!-- --></includeonly><noinclude>{{doc}} {{category|Shortcut templates}} {{language info|en=Template:Signed number}}<noinclude>"
10:0210:02, 25 July 2024diffhist+4,655 N
Module:Mining speed
Created page with "local p = {} local tr = require('Module:Tr').translate local iteminfo = require('Module:Iteminfo') local modifierInfo = require('Module:Modifier').go local spairs = require('Module:Spairs').spairs local vardefine = mw.ext.VariablesLua.vardefine local lang local function _in(val, arr) for _, v in ipairs(arr) do if val == v then return true end end return false end function p.go(frame) --[[ local args = frame.args local lang = frame.args['lang'] or frame..."
09:2709:27, 25 July 2024diffhist+565 N
Module:Spairs
Created page with "local p = {} function p.spairs(t, order) -- collect the keys local keys = {} for k in pairs(t) do keys[#keys+1] = k end -- if order function given, sort by it by passing the table and keys a, b, -- otherwise just sort the keys if order then table.sort(keys, function(a,b) return order(t, a, b) end) else table.sort(keys) end -- return the iterator function local i = 0 return function() i = i + 1..."current