Difference between revisions of "Module:Message box"
make args.all work
>Mr. Stradivarius (load box types from the config page automatically) |
>Mr. Stradivarius on tour (make args.all work) |
||
Line 317: | Line 317: | ||
self.categoryNums = getArgNums(args, 'category') | self.categoryNums = getArgNums(args, 'category') | ||
self.categoryParamNums = union(self.catNums, self.categoryNums) | self.categoryParamNums = union(self.catNums, self.categoryNums) | ||
if args.all then | |||
args.all1 = args.all | |||
end | |||
-- 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 |