Module:ScriptItem: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 878: Line 878:
end
end
table.insert(out, "<div style='margin-top: 20px;'></div>")
table.insert(out, "<div style='margin-top: 20px;'></div>")
table.insert(out, "\n'''Types'''<br>"..table.concat(types, "<br>"))
table.insert(out, "\n'''Types'''<br>\n"..table.concat(types, "<br>"))
local parts = p.split(p.getDisplayedName(frame), ".")
local parts = p.split(p.getDisplayedName(frame), ".")
Line 893: Line 893:
if #rows > 0 then
if #rows > 0 then
table.insert(out, "<div style='margin-top: 20px;'></div>")
table.insert(out, "<div style='margin-top: 20px;'></div>")
table.insert(out, "\n'''Break-down'''<br>"..p.table(false, rows, { 80, 400 }, false))
table.insert(out, "\n'''Break-down'''<br>\n"..p.table(false, rows, { 80, 400 }, false))
end
end
end
end
6,833

edits