Module:Sandbox/ChaoticShadow/InfoboxBuilder: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 205: Line 205:
self:addSpacer()
self:addSpacer()
local _cell = self.infobox:tag('tr'):tag('th')
local _cell = self.infobox:tag('tr'):tag('th'):attr('colspan', 30)
_cell:css({
_cell:css({
['text-align'] = 'center',
['text-align'] = 'center',
Line 216: Line 216:
end
end
if arg.colspan then
if arg.colspan then
_cell:attr('colspan', arg.colspan or 30)
_cell:attr('colspan', arg.colspan)
end
end
if arg.rowspan then
if arg.rowspan then