Module:Sandbox: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created page with "local p = {} function p.test( frame ) local out = '' for k, v in pairs( frame ) do out = out .. '\n' .. k .. '=' .. v end return out end return p")
 
No edit summary
 
Line 4: Line 4:
   local out = ''
   local out = ''
   for k, v in pairs( frame ) do
   for k, v in pairs( frame ) do
     out = out .. '\n' .. k .. '=' .. v
     out = out .. '\n' .. k
   end
   end



Latest revision as of 18:15, June 24, 2020

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

local p = {}

function p.test( frame )
  local out = ''
  for k, v in pairs( frame ) do
    out = out .. '\n' .. k
  end

  return out
end

return p