Module:ItemSources: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
local data = storeLocationsList.main(frame) | local data = storeLocationsList.main(frame) | ||
if data == nil then | |||
mw.log("no data!!") | |||
end | |||
mw.log("data", inspect(data)) | mw.log("data", inspect(data)) | ||
Revision as of 12:11, 4 April 2022
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 data = storeLocationsList.main(frame)
if data == nil then
mw.log("no data!!")
end
mw.log("data", inspect(data))
end
return p