Difference between revisions of "Module:Sandbox/Ahecht/sandbox"
< Module:Sandbox | Ahecht
Jump to navigation
Jump to search
blackwiki>Ahecht (test) |
blackwiki>Ahecht (test) |
||
| Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
| + | |||
| + | local function _main(args) | ||
| + | args[1] = "CHANGED" | ||
| + | return true | ||
| + | end | ||
function p.main(frame) | function p.main(frame) | ||
| − | + | args = frame:getParent().args | |
| + | _args = _main(args) | ||
| + | output = args[1] | ||
return output | return output | ||
end | end | ||
return p | return p | ||
Revision as of 16:09, 18 July 2017
Documentation for this module may be created at Module:Sandbox/Ahecht/sandbox/doc
local p = {}
local function _main(args)
args[1] = "CHANGED"
return true
end
function p.main(frame)
args = frame:getParent().args
_args = _main(args)
output = args[1]
return output
end
return p