Module:parameters: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local export = {} -- A helper function to escape magic characters in a string -- Magic characters: ^$()%.[]*+-? local plain = require("Module:string").pattern_escape -- A he...")
 
No edit summary
Line 167: Line 167:
-- Store the highest index we find.
-- Store the highest index we find.
args_new[param.alias_of].maxindex = math.max(1, args_new[param.alias_of].maxindex)
args_new[param.alias_of].maxindex = math.max(index, args_new[param.alias_of].maxindex)
else
else
args_new[param.alias_of] = val
args_new[param.alias_of] = val

Navigation menu