Modul:Message box: Unterschied zwischen den Versionen
allow small=left for ambox
(remove a not where a not should not be) |
(allow small=left for ambox) |
||
| Zeile 181: | Zeile 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. | ||