Difference between revisions of "Module:Test"

From PKC
Jump to navigation Jump to search
Line 2: Line 2:


function p.hello_world(a)
function p.hello_world(a)
return "Hello, world! from " .. mw.allToString(mw.mw.getCurrentFrame())
cf = mw.mw.getCurrentFrame()
return "Hello, world! from " .. mw.allToString(cf)
end
end


return p
return p

Revision as of 09:03, 9 August 2021

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

p = {}

function p.hello_world(a)
	cf = mw.mw.getCurrentFrame()
	return "Hello, world! from " .. mw.allToString(cf)
end

return p