Difference between revisions of "Module:Sandbox02"

From Rhizome Catalog
Jump to: navigation, search
m
m
Line 17: Line 17:
 
     local fx = frame.args[1]
 
     local fx = frame.args[1]
 
     local fy = frame.args[2]
 
     local fy = frame.args[2]
     return 'this is '.. fx ..', created April 27, 2016.\n'..' and '.. fy ..' also.\n'
+
     return 'this is '.. fx ..', created April 27, 2016.\n'..'\r and '.. fy ..' also.\n'
 
end
 
end
  
 
return p
 
return p

Revision as of 22:50, 27 April 2016

Documentation for this module may be created at Module:Sandbox02/doc

local p = {}

function p.ftn01(frame)
    return "this is ftn01, created April 27, 2016.\n"
end

function p.ftn02(frame)
    return "this is ftn02, created April 27, 2016.\n"
end

function p.ftn03( frame )
    local fx = frame.args[1]
    return 'this is '.. fx ..', created April 27, 2016.\n'
end

function p.ftn04( frame )
    local fx = frame.args[1]
    local fy = frame.args[2]
    return 'this is '.. fx ..', created April 27, 2016.\n'..'\r and '.. fy ..' also.\n'
end

return p