Module:Message box: Difference between revisions

Jump to navigation Jump to search
fix date formatting order
(remove the presentButBlank function, fix bug with blank date values, and trim whitespace from all arguments)
(fix date formatting order)
Line 257:
-- Get other values.
self.fix = args.fix
local date
if args.date and args.date ~= '' then
self.date = format(" <small>''(%s)''</small>", args.date)
elseif args.date == '' and self.isTemplatePage then
self.date = lang:formatDate('F Y')
end
if date then
self.date = format(" <small>''(%s)''</small>", date)
end
self.info = args.info
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu