Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Message box: Difference between revisions

Content added Content deleted
(more controlling for blank dates)
(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')
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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.