Module:ScriptItem: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 842: Line 842:
line1 = line1.."via the observer pattern. [https://wiki.gtaconnected.com/HowTo/Events Read more.]"
line1 = line1.."via the observer pattern. [https://wiki.gtaconnected.com/HowTo/Events Read more.]"
end
end
table.insert(out, "<div style='margin-top: 20px;'>"..line1.."</div>")
table.insert(out, line1)
local getTypeSide = function(type)
local getTypeSide = function(type)
Line 872: Line 872:
end
end
table.insert(out, "<div style='margin-top: 20px;'></div>")
table.insert(out, "<div style='margin-top: 20px;'></div>")
table.insert(out, table.concat(types, "").."")
table.insert(out, "\n"..table.concat(types, ""))
local parts = p.split(p.getDisplayedName(frame), ".")
local parts = p.split(p.getDisplayedName(frame), ".")
Line 886: Line 886:
end
end
if #rows > 0 then
if #rows > 0 then
table.insert(out, p.table(false, rows, { 80, 400 }, false))
table.insert(out, "<div style='margin-top: 20px;'></div>")
table.insert(out, "\n"..p.table(false, rows, { 80, 400 }, false))
end
end
end
end
6,833

edits