Module:Damage: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 1: Line 1:
local p = {} --p stands for package
local p = {}
local t = {}


function p.hello( frame )
function p.hello( frame )
    for val in pairs(frame.args) do
  local t = {}
        print(val)
  for name, value in frame:argumentPairs() do
    end
      t[name] = value
  end
end
end


return p
return p

Revision as of 00:28, 20 March 2022

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

local p = {}
local t = {}

function p.hello( frame )
   local t = {}
   for name, value in frame:argumentPairs() do
      t[name] = value
   end
end

return p