Zum Inhalt springen

Modul:Message box: Unterschied zwischen den Versionen

get arg nums for all parameters as well as cat and category parameters
(more controlling for blank dates)
(get arg nums for all parameters as well as cat and category parameters)
Zeile 318: Zeile 318:
         end
         end
         self.categoryNums = getArgNums(args, 'category')
         self.categoryNums = getArgNums(args, 'category')
        self.categoryParamNums = union(self.catNums, self.categoryNums)
         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