Module:OnshokoeseScript

From Constructed Worlds Wiki
Revision as of 22:40, 25 April 2024 by Kids112 (talk | contribs)
Jump to navigation Jump to search

Documentation for this module may be created at Module:OnshokoeseScript/doc

local p = {} -- Defines a variable p as an empty table, but *not* nil.

function p.main(frame) -- This block defines the table element p["main"] as a function.
    return getArgs(frame) -- The string result of the function.
end -- Ends the block defining the function object p["main"] (or p.main).

function p._main(args)
	local first = args[1] or ''
	return first
end

return p