Module:Message box: Difference between revisions

allow small=left for ambox
(remove a not where a not should not be)
(allow small=left for ambox)
Line 181:
 
-- Find whether we are using a small message box.
self.isSmall =if cfg.allowSmall and (args.small == 'yes' or args.small == true) and true or false
cfg.smallParam and args.small == cfg.smallParam
or not cfg.smallParam and yesno(args.small)
)
then
self.isSmall = true
else
self.isSmall = false
end
 
-- Add attributes, classes and styles.