Difference between revisions of "Module:Message box"
allow small=left for ambox
>Mr. Stradivarius (remove a not where a not should not be) |
>Mr. Stradivarius (allow small=left for ambox) |
||
Line 181: | Line 181: | ||
-- Find whether we are using a small message box. | -- 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 | |||
else | |||
self.isSmall = false | |||
end | |||
-- Add attributes, classes and styles. | -- Add attributes, classes and styles. |