Module:Jctint/core/sandbox

From blackwiki
< Module:Jctint/core
Revision as of 08:32, 24 September 2013 by blackwiki>Happy5214 (Creating temporary sandbox wrapper)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Jctint/core/sandbox/doc

local p = {}

function p.locations(frame)
	local pframe = frame:getParent()
	local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself
	local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the template
	
	local mainModule = require "Module:Jctint/core"
	return mainModule.locations(args)
end

return p