Module:Sandbox

From Warcraft Wiki
Jump to navigation Jump to search

This is a sandbox to trial Scribunto lua modules without impacting the wiki. Please feel free to trial new code here before deploying to a real module.


-- This is a sandbox to test new ideas before changing an in-use Scribunto module.
-- See [[Project:Sandbox]] for details

local module = {}

		-------------------------------------------
		-- write your test code below this line! --
		-------------------------------------------



function module:Foo()
	return self:callParserFunction("#ifexist", self.args[1], "foo", "bar") .. " " .. tostring(mw.ext.dpl)
end

		-------------------------------------------
		-- write your test code above this line! --
		-------------------------------------------


return module