Module:Sandbox/Locusta

From Test Wiki

Documentation for this module may be created at Module:Sandbox/Locusta/doc

local getArgs = require('Module:Arguments').getArgs
local p = {}

function p.main (frame) 
	local args = getArgs(frame)
	local title = args["1"] or args["title"] or args["page"]
	return mw.title.new(title):getContent()
end

return p