localp={}-- Entry point for Lua callersfunctionp._test(frame)localtext=frame:preprocess("{{Special:WhatLinksHere/Category:Australia|namespace=0|limit=200}}")returntextend-- Entry point for template callers using #invoke:functionp.test(frame)-- args = { nothing yet }localargs=frame.args-- from calling modulelocalpargs=frame:getParent().args-- from templatereturnp._test(frame)-- (args[1] or pargs[1], args[2] or pargs[2])endreturnp
localp={}-- Entry point for Lua callersfunctionp._test(frame)localtext=frame:preprocess("{{Special:WhatLinksHere/Category:Australia|namespace=0|limit=200}}")returntextend-- Entry point for template callers using #invoke:functionp.test(frame)-- args = { nothing yet }localargs=frame.args-- from calling modulelocalpargs=frame:getParent().args-- from templatereturnp._test(frame)-- (args[1] or pargs[1], args[2] or pargs[2])endreturnp