Module:Message box: Difference between revisions
Jump to navigation
Jump to search
m>Mr. Stradivarius more controlling for blank dates |
m>Mr. Stradivarius get arg nums for all parameters as well as cat and category parameters |
||
Line 318: | Line 318: | ||
end | end | ||
self.categoryNums = getArgNums(args, 'category') | self.categoryNums = getArgNums(args, 'category') | ||
if args.all then | if args.all then | ||
args.all1 = args.all | args.all1 = args.all | ||
end | end | ||
self.allNums = getArgNums(args, 'all') | |||
self.categoryParamNums = union(self.catNums, self.categoryNums) | |||
self.categoryParamNums = union(self.categoryParamNums, self.allNums) | |||
-- The following is roughly equivalent to the old {{Ambox/category}}. | -- The following is roughly equivalent to the old {{Ambox/category}}. | ||
local date = args.date | local date = args.date |