local getArgs = require('Module:Arguments').getArgs
local function ref(a) a = a or local refPattern = '\127UNIQ%x+%-ref%-%x+%-QINU\127' local p, _ = string.find(a, refPattern) local contentPart, refPart
if p then contentPart = string.sub(a, 1, p - 1) refPart = string.sub(a, p) else contentPart = a refPart = end
return contentPart, refPartend
local p =
function p.main(frame) local args = getArgs(frame) return p._main(args)end
function p._main(args) -- Main module code goes here. local ret
local pt1, pt2 = ref(args[1])
ret = "" .. pt1 .. " hello" .. pt2
return retend
return p