Minecraft Wiki
[view | edit | history | purge]DocumentationJump to code ↴

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.

Blobs2 is inactive. 
Blobs2 hasn't edited since July 22, 2023, so they will probably not receive any messages left here. Please keep this in mind before leaving a message.
[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={}
	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=require('Module:ProcessArgs').merge(true)
	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