Module:Message box: Difference between revisions

Jump to navigation Jump to search
m>Mr. Stradivarius
load box types from the config page automatically
m>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