Module:Sandbox/Fisssion

local getArgs = require("Module:Arguments").getArgs local pet, petData = require("Module:Pet"), mw.loadData("Module:Pet/Data")

local p = {}

function p.test(frame) local args = getArgs(frame) local ret = {} local i = 0 for name in pairs(petData) do		i = i + 1 if i >= tonumber(args[1]) and i <= tonumber(args[2]) then table.insert(ret, mw.getCurrentFrame:preprocess((""):format(name))) end end return table.concat(ret, "\n") end

return p