Module:Sandbox/BigGreenCahuna
Appearance
local p = {}
function p.hello( frame )
local args=frame.args
output = "Bob "
local testcheck = 0 local testcheck2 = 0 local testcheck3 = 0 local testcheck4 = 0
-- check 1
if args[1] == "1" then
output = output.."Test1 "
testcheck = 1
else
output = output..args[1] testcheck = -1
end
-- check 2
if args[2] == "5" then
output = output.."Test2 "
testcheck2 = 1
else
output = output..args[2] testcheck2 = -1
end
return output
end
return p