Module:Infobox: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 24: Line 24:
function Infobox.defineParams(self, params)
function Infobox.defineParams(self, params)
     self.params = params
     self.params = params
end
-- addRow method to add rows to the infobox
function Infobox.addRow(self, row)
    if not self.rows then
        self.rows = {}
    end
    table.insert(self.rows, row)
end
end


Navigation menu