Jump to content

Module:Sandbox/Justinc/First

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Justinc (talk | contribs) at 13:43, 16 May 2013. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local p = {}
function p.hello(frame)
    return 'Hello from Lua'
end

function p.argument(frame)
  s = "<pre>\n"
  for k, v in pairs(frame) do
      s = s .. k .. " = " .. v .. "\n"
  end
  return s .. "</pre>"
end


return p