Editing Module:Infobox
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 187: | Line 187: | ||
--[[ |
--[[ |
||
Adds a blank row of padding spanning the given number of columns |
Adds a blank row of padding spanning the given number of columns |
||
⚫ | |||
function Infobox:pad(colspan, class) |
function Infobox:pad(colspan, class) |
||
local tr = self.rtable:tag('tr'):tag('td'):attr('colspan', colspan or 1):addClass('infobox-padding') |
local tr = self.rtable:tag('tr'):tag('td'):attr('colspan', colspan or 1):addClass('infobox-padding') |
||
Line 195: | Line 195: | ||
return self |
return self |
||
end |
end |
||
⚫ | |||
--[[ |
--[[ |