Module:Infobox: Difference between revisions

use tostring() in getArgNums() - this is quicker than forcing concatenation of numbers
(custom step degree for touchParameters)
(use tostring() in getArgNums() - this is quicker than forcing concatenation of numbers)
Line 29:
local nums = {}
for k, v in pairs(args) do
local num = tostring('' .. k):match('^' .. prefix .. '([1-9]%d*)$')
if num then table.insert(nums, tonumber(num)) end
end