Module:Message box: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>Hb1290
No edit summary
imported>Hb1290
No edit summary
Line 510: Line 510:
end
end
imageLeftCell:wikitext(self.imageLeft or nil)
imageLeftCell:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and
-- some don't. The old template code in templates where empty cells are
-- specified gives the following hint: "No image. Cell with some width
-- or padding necessary for text cell to have 100% width."
row:tag('td')
:addClass('mbox-empty-cell')
:cssText(self.imageEmptyCellStyle or nil)
end


-- Add the text.
-- Add the text.
Line 620: Line 611:


return setmetatable(p, mt)
return setmetatable(p, mt)
end
Anonymous user

Navigation menu