Changes

Jump to: navigation, search

Module:Message box

39 bytes added, 06:43, 13 October 2013
control for blank values of issue, fix, and subst
-- Find whether we are using a small message box.
if cfg.allowSmall and (
cfg.smallParam and args.small == cfg.smallParam or not cfg.smallParam and yesno(args.small) )
then
self.isSmall = true
end
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
text = type(text) == 'string' and text or nil
-- Get other values.
self.fix = args.fix~= '' and args.fix or nil
local date
if args.date and args.date ~= '' then
Anonymous user

Navigation menu