Module:Infobox: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 48: Line 48:
end
end


-- Generate the infobox based on the added rows
-- Generate the infobox based on the added rows
-- Generate the infobox based on the added rows
function Infobox.create(self)
function Infobox.create(self)
Line 59: Line 60:
     table.insert(output, "{{Infobox end}}")
     table.insert(output, "{{Infobox end}}")
      
      
     return table.concat(output, "\n")
     return output -- Return the table of strings
end
end


return Infobox
return Infobox