Difference between revisions of "Module:Sandbox/Ahecht/sandbox2"

From blackwiki
Jump to navigation Jump to search
blackwiki>Ahecht
(create)
 
blackwiki>Ahecht
(test)
Line 3: Line 3:
 
function p.main(frame)
 
function p.main(frame)
 
args = frame.args
 
args = frame.args
output = (args.one or 'NIL') .. ' ' .. (args.two or 'NIL') .. ' ' .. (args.three or 'NIL')
+
output = (args.one or 'NIL') .. ' ' .. (args.two or 'NIL') .. ' ' .. (args.three or 'NIL') .. ' ' .. (args.four or 'NIL')
 
return output
 
return output
 
end
 
end
  
 
return p
 
return p

Revision as of 23:10, 18 July 2017

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

local p = {}

function p.main(frame)
	args = frame.args
	output = (args.one or 'NIL') .. ' ' .. (args.two or 'NIL') .. ' ' .. (args.three or 'NIL') .. ' ' .. (args.four or 'NIL')
	return output
end

return p