Module:Message box: Difference between revisions
Content added Content deleted
(fix comment on image divs) |
(try switching the imageLeft logic around) |
||
Line 293: | Line 293: | ||
-- Left image settings. |
-- Left image settings. |
||
local imageCheckBlank = cfg.imageCheckBlank |
|||
local imageLeft = self.isSmall and args.smallimage or args.image |
local imageLeft = self.isSmall and args.smallimage or args.image |
||
if |
if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none' |
||
or not cfg.imageCheckBlank and imageLeft ~= 'none' |
|||
then |
|||
self.imageLeft = imageLeft |
self.imageLeft = imageLeft |
||
if not imageLeft then |
if not imageLeft then |