Module:User:Surjection/sandbox
- This module sandbox lacks a documentation subpage. You may create it.
- Useful links: root page • root page’s subpages • links • transclusions • testcases • user page • user talk page • userspace
This is a private module sandbox of Surjection, for their own experimentation. Items in this module may be added and removed at Surjection's discretion; do not rely on this module's stability.
local export = {}
local function template_rep(args)
return mw.ustring.rep(args[1], 3)
end
function export.test(frame)
return require("Module:User:Surjection/invoker")(frame:getParent().args[1], { ["rep"] = template_rep })
end
function export.join(frame)
local args = frame:getParent().args
local pargs = {}
local i = 1
while args[i] do
pargs[i] = args[i]
i = i + 1
end
return table.concat(pargs)
end
return export