Welcome to my module sandbox.
This is a sandbox that can be used to test module-related things.
Since it is a sandbox, do not invoke it outside of sandboxes, nor should it be edited by other users.
[view | edit | history | purge]The above documentation is transcluded from Module:Blobs2/Sandbox/doc.
local p = {}
--Use the first, second, and third letters for direct, parent, and within Lua, respectively
function p.nnn(f)
local args=nil
return args[1]
end
function p.nny(f)
local args=f
return args[1]
end
function p.nyn(f)
local args=f.args
return args[1]
end
function p.nyy(f)
local args = f
if f == mw.getCurrentFrame() then
args = f.args
end
return args[1]
end
function p.ynn(f)
local args=f:getParent().args
return args[1]
end
function p.yny(f)
local args = f
if f == mw.getCurrentFrame() then
args = f:getParent().args
end
return args[1]
end
function p.yyn(f)
local args=f.args
if f==mw.getCurrentFrame() then
args=f:getParent().args
else
f=mw.getCurrentFrame
end
return args[1]
end
function p.yyy(f)
local args=f
if f==mw.getCurrentFrame then
args=require('Module:ProcessArgs').merge(true)
end
return args[1]
end
return p