Модуль:Message box: различия между версиями
Содержимое удалено Содержимое добавлено
Putnik (обсуждение | вклад) вдруг так .mbox-image начнёт нормально работать |
Putnik (обсуждение | вклад) не начал |
||
Строка 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')
end
imageLeftCell:wikitext(self.imageLeft or nil)
|