Module:Infobox: Difference between revisions
Infobox:pad bugfix
(Clean up, annotated. Finalized, hopefully not many bugs) |
(Infobox:pad bugfix) |
||
Line 188:
--]]
function Infobox:pad(colspan, class)
local tr = self.rtable:tag('tr'):tag('td'):attr('colspan', colspan or 1):addClass('infobox-padding')
if class then
tr:addClass(class)
|