Module:Message box/sandbox: Difference between revisions

Content deleted Content added
m Undid revision 1006674334 by MJL (talk) try elseif
m move self.imageleftcell
Line 529:
local imageLeftCell = row:tag('td'):addClass('mbox-image')
if self.setCollapsible then
self.imageLeftCell = imageLeftCell:attr('rowspan', '2')
elseif self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
Line 535:
-- 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.
self.imageLeftCell = imageLeftCell:tag('div'):css('width', '52px')
end
self.imageLeftCell:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and