Module:ItemSources

From Discord Dungeons Wiki
Revision as of 12:15, 4 April 2022 by Mackan (talk | contribs)
Jump to navigation Jump to search

Documentation for this module may be created at Module:ItemSources/doc

--------------------------
-- Module for [[Template:ItemSources]]
--
--
------------------------
local p = {}

local storeLocationsList = require('Module:Store locations list')
local onmain = require('Module:Mainonly').on_main
local commas = require('Module:Addcommas')._add
local inspect = require('Module:Inspect')
VariablesLua = mw.ext.VariablesLua

function p.main(frame)
	local args = frame:getParent().args
	mw.log("args", inspect(data))

	
	local status, data = pcall(storeLocationsList.main(frame))

	mw.log("status", status)
	mw.log("data", data)

	if data then
		mw.log("no error")
	else
		mw.log("error")
		mw.log("data", inspect(data))
	end
end



return p