Module:Sandbox/Natkabrown Explained

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

function p.argument(frame) s = "" for k, v in pairs(frame.args) do s = s .. k .. " = " .. v .. "\n" end return mw.text.tagend

function p.parent(frame) local parent = frame:getParent s = "

\n"
  for k, v in pairs(parent.args) do
      s = s .. k .. " = " .. v .. "\n"
  end
  return s .. "\n
"end

function p.stats(frame) return "Wikipedia has " .. mw.site.stats.pages .. " pages" end

return p