Module:Infobox: Difference between revisions
Old version cut off after first nil
(use page name not infobox name for default subobject linking) |
(Old version cut off after first nil) |
||
Line 368:
local func_name = func.name
local func_params = func.params
local
func_fetched_params[i] = self:get_param(func_param, version)▼
end
local function get_params(i)
▲ return func_name(unpack(func_fetched_params))
if i == n_params then
else
return self:get_param(func_params[i], version), get_params(i + 1)
end
end
return func_name(get_params(1))
else
table.insert(self.errors, 'Invalid param definition for '..param_name)
|