模块:沙盒Lua

来自Postal Wiki

此模块的文档可以在模块:沙盒Lua/doc创建

local p = {}
function p.main(frame)
	local args = frame.args
	local d = args.d or ""
	local out = "DATE=" .. d
	if args.x and args.x ~= "" then
		out = out .. "\nHAS-X"
	else
		out = out .. "\nNO-X"
	end
	return out
end
function p.echo(frame)
	return "{{1+1}}和{{邮政复函}}和[[分类:测试分类X]]"
end
return p