Module:ScriptItem: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 838: Line 838:
line1 = line1.."globally."
line1 = line1.."globally."
elseif args.type == 'property' or args.type == 'method' then
elseif args.type == 'property' or args.type == 'method' then
line1 = line1.."via OOP."
line1 = line1.."via OOP, on types:"
elseif args.type == 'event' then
elseif args.type == 'event' then
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.]"
Line 879: Line 879:
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>\n"..table.concat(types, "<br>"))
table.insert(out, "\n"..table.concat(types, "<br>"))
end
end
6,833

edits