Module:Sandbox/RetroCraft314/test

-- local p = {} local args = {}

function p.Keys(frame) if frame == mw.getCurrentFrame then args = frame:getParent.args else args = frame end local out = "" local nums = {} for k, v in pairs(args) do       local num = tostring(k):match('^key([1-9]%d*%a*)$') if num then table.insert(nums, k) end end table.sort(nums)

for i = 1, #nums do   	local k, v = nums[i], arr[nums[i]] out = out .. ';' .. k .. ': '	end return out end

return p