Module:Message box/sandbox: Difference between revisions

Content deleted Content added
add if header
m rmv second if self.imageLeft then
Line 560:
:wikitext(self.headertext or nil)
end
end
end
if self.imageLeft then
local imageLeftCell = row:tag('th'):addClass('mbox-image')
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
-- is inside it. Divs use style="width: 52px;", which limits the
-- image width to 52px. If any images in a div are wider than that,
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):css('width', '52px')
end
end