Module:ScriptItem: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 871: Line 871:
types[i] = p.loadTemplate(frame, 'Side', {[getTypeSide(type)]='1'}).." "..type
types[i] = p.loadTemplate(frame, 'Side', {[getTypeSide(type)]='1'}).." "..type
end
end
table.insert(out, table.concat(types, "<br>"))
table.insert(out, table.concat(types, ""))
local parts = p.split(p.getDisplayedName(frame), ".")
local parts = p.split(p.getDisplayedName(frame), ".")
Line 885: Line 885:
end
end
if #rows > 0 then
if #rows > 0 then
table.insert(out, "<div style='margin-top: 20px'>"..p.table(false, rows, { 80, 400 }, false).."</div>")
table.insert(out, "<div style='margin-top: 20px;'>"..p.table(false, rows, { 80, 400 }, false).."</div>")
end
end
end
end
6,834

edits