Difference between revisions of "Module:Message box"

Jump to navigation Jump to search
24 bytes removed ,  06:39, 3 October 2013
try switching the imageLeft logic around
>Mr. Stradivarius
(fix comment on image divs)
>Mr. Stradivarius
(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 imageLeft ~= 'none' and not imageCheckBlank or imageLeft ~= 'none' and imageCheckBlank and image ~= 'blank' then
     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
Anonymous user

Navigation menu