Module:ScriptItem2: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 449: Line 449:
if isEvent and args.syntax and args.syntax:lower() == 'event event' then
if isEvent and args.syntax and args.syntax:lower() == 'event event' then
elseif #entries == 0 then
elseif #entries == 0 or entries[1] == "void" then
return p.documentationMissing(frame, "Parameters")
elseif entries[1] == "void" then
local headers = nil
local headers = nil
local rows = { { p.formatType("void", frame), "This "..args.type.." doesn't take any parameters." } }
local rows = { { p.formatType("void", frame), "This "..args.type.." doesn't take any parameters." } }
6,834

edits