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
-- Generate the infobox based on the added rows
-- Generate the infobox based on the added rows
Line 60: Line 61:
     table.insert(output, "{{Infobox end}}")
     table.insert(output, "{{Infobox end}}")
      
      
     return output -- Return the table of strings
     return table.concat(output, "\n") -- Convert the table to a string
end
end


return Infobox
return Infobox