More actions
Ttenbergen (talk | contribs) No edit summary |
Ttenbergen (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
--if frame.args[1] == nil | --if frame.args[1] == nil | ||
return p.testParameters(frame.args[ | return p.testParameters(frame.args[2]) | ||
end | end |
Revision as of 21:10, 2024 May 29
This is just a module to test Scribunto/loa
local p = {}
-- this is a comment
-- more comments
--[[a multi
line comment]]
function p.getAuthor( frame )
--if frame.args[1] == nil
return p.testParameters(frame.args[2])
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