Модуль:Message box: различия между версиями

Содержимое удалено Содержимое добавлено
вдруг так .mbox-image начнёт нормально работать
не начал
Строка 514:
local row = boxTable:tag('tr')
if self.imageLeft then
local imageLeftCell = row:tag('td'):addClass('mbox-image')
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
Строка 521:
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):css('width', '52px')
imageLeftCell:addClass('mbox-image')
else
imageLeftCell:addClass('mbox-image')
end
imageLeftCell:wikitext(self.imageLeft or nil)