Module:Sandbox/ProcrastinatingReader/ib: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 16:
local function getNetValue(frame, argName)
local args = getArgs(frame)
local argType = args['arg_type'] and (args['arg_type']..'_') or ''
local netparamName = args['area_'..argType..'_'..argName] or dataValue(frame, args['subdivision_name'], 'area_'..argType..'_'..argName, args['name'])
 
local net = args[paramName] or dataValue(frame, args['subdivision_name'], paramName, args['name'])
 
return net
end
Line 59 ⟶ 62:
return ""
end
end
 
function p.generic(frame)
local args = getArgs(frame)
local argType = args['arg_type']
return getNetValue(frame, argType)
end