Module:Sandbox/ProcrastinatingReader/ib explained

local getArgs = require('Module:Arguments').getArgs

local p =

local function isempty(s) return s

nil or s

end

local function dataValue(frame, settlementName, parameterName, itemName) return frame:expandTemplateend

local function getNetValue(frame, argCategory, argName) local args = getArgs(frame) local argType = args['arg_type'] and (args['arg_type']..'_') or local paramName = argCategory..'_'..argType..argName

local net = args[paramName] or dataValue(frame, args['subdivision_name'], paramName, args['name'])

return netend

function p.nativeName(frame) local val = frame.args[1] if val then local match = mw.ustring.match(val, "