Module:Sandbox/ttenbergen

From mediawiki.org
Module documentation
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