Module:ScriptItem: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 564: Line 564:
local rows = {}
local rows = {}
if p.isCancellable(frame) then
if p.isCancellable(frame) then
rows[1] = { 'cancellable', 'This '..args.type..' can be cancelled. be changed, by using [[event.preventDefault|event.preventDefault]].' }
rows[1] = { 'cancellable', 'This '..args.type..' can be cancelled, by using [[event.preventDefault|event.preventDefault]].' }
else
else
rows[1] = { p.formatType('const', frame), 'This '..args.type..' cannot be cancelled.' }
rows[1] = { p.formatType('const', frame), 'This '..args.type..' cannot be cancelled.' }
6,833

edits