Module:Message box: Difference between revisions
Content deleted Content added
Enwikipedia>Mr. Stradivarius switch indentation to tabs |
Enwikipedia>Mr. Stradivarius control for blank values of issue, fix, and subst |
||
Line 176:
-- Find whether we are using a small message box.
if cfg.allowSmall and (
then
self.isSmall = true
Line 221:
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
Line 259:
-- Get other values.
self.fix = args.fix ~= '' and args.fix or nil
local date
if args.date and args.date ~= '' then
|