Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Test

From North Forge
Revision as of 18:56, 2024 April 25 by Ttenbergen (talk | contribs) (Created page with "local p = {} -- this is a commen --a multi line comment function p.getAuthor( frame ) --if frame.args[1] == nil return p.testParameters(frame.args[1]) end function p.testParameters( myParameter ) local myOutput if myParameter == nil then myOutput = "it was empty" else myOutput = "parameter was:"..myParameter end return myOutput end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is just a module to test Scribunto/loa


local p = {}
-- this is a commen 
--[[a multi
line comment]]
function p.getAuthor( frame )
	--if frame.args[1] == nil 
	
	return p.testParameters(frame.args[1])
	
end

function p.testParameters( myParameter )
	local myOutput
	if myParameter == nil then
		myOutput = "it was empty"
	else
        myOutput = "parameter was:"..myParameter
	end
	return myOutput
end 

return p