Module:Actions: Difference between revisions
Created page with "local p = {} function p.parseActions(frame) local args = frame.args if args[1] == nil then return "no defined" end return "epic" end -- Set the __call metamethod to the default function setmetatable(p, { __call = function(_, frame) return p.defaultFunction(frame) end }) return p" |
No edit summary |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
function p. | function p.builder(frame) | ||
local args = frame.args | local args = frame.args | ||
if args[1] == nil then return "no defined" end | if args[1] == nil then return "no defined" end | ||
Line 7: | Line 7: | ||
return "epic" | return "epic" | ||
end | end | ||
return p | return p |
Revision as of 23:39, 7 September 2024
Documentation for this module may be created at Module:Actions/doc
local p = {}
function p.builder(frame)
local args = frame.args
if args[1] == nil then return "no defined" end
return "epic"
end
return p