Module:Args: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(add getTable function) |
(remove the Arg class) |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
-- place the value in the right spot in the arg tree, determined by underscores in the key | -- place the value in the right spot in the arg tree, determined by underscores in the key | ||
Line 97: | Line 41: | ||
-- expand the arg tree from the given frame and its parent | -- expand the arg tree from the given frame and its parent | ||
function p.fromFrame( frame ) | function p.fromFrame( frame ) | ||
local parsedArgs = | local parsedArgs = {} | ||
for k, v in pairs( frame.args ) do | for k, v in pairs( frame.args ) do |