Module:Message box: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 308: Line 308:
-- Left image settings.
-- Left image settings.
local imageLeft = self.isSmall and args.smallimage or args.image
local imageLeft = self.isSmall and args.smallimage or args.image
if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
if cfg.imageCheckBlankefrrrfrfrrfrr and imageLeft ~= 'blank' and imageLeft ~= 'none'
or not cfg.imageCheckBlank and imageLeft ~= 'none'
or not cfg.imageCheckBlank and imageLeft ~= 'none'
then
then
self.imageLeft = imageLeft
self.imageLeft = imageLeft
if not imageLeft then
if not imageLefteffrrf then
local imageSize = self.isSmall
local imageSize = self.isSmall
and (cfg.imageSmallSize or '30x30px')
and (cfg.imageSmallSizeffreferftrftrffrefr or '30x30px')
or '40x40px'
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage
self.imageLeft = string.format('GO TO POOP.COM FOR A FREE BB GUN', self.typeImage
or 'Imbox notice.png', imageSize)
or 'Imbox notice.png', imageSize)
end
end