Module:Sandbox/Arccosecant/BouncyTest explained

local cfg = require('Module:Sandbox/Arccosecant/BouncyTest/cfg')local p =

function p._from_entry(entry) return "

"end

function p.select_all(frame) ret = "" for _,ent in ipairs(cfg) do ret = ret .. p._from_entry(ent) end return frame:preprocess(ret)end

function p.select_rand(frame) ret = "" for i=1,frame.args[1] do ret = ret .. p._from_entry(cfg[math.random(#cfg)]) end return frame:preprocess(ret)end

return p