Module:ItemSources: Difference between revisions
Jump to navigation
Jump to search
(Created page with "-------------------------- -- Module for Template:Infobox Item -- -- Todo: -- * Text on drop -- * Equipable -- * Tool info (skill levels etc) -- ------------------------ local p = {} local infobox = require('Module:Experimental/Infobox') 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.Vari...") |
No edit summary |
||
Line 1: | Line 1: | ||
-------------------------- | -------------------------- | ||
-- Module for [[Template: | -- Module for [[Template:ItemSources]] | ||
-- | -- | ||
-- | -- | ||
------------------------ | ------------------------ | ||
local p = {} | local p = {} | ||
local storeLocationsList = require('Module:Store locations list') | local storeLocationsList = require('Module:Store locations list') | ||
local onmain = require('Module:Mainonly').on_main | local onmain = require('Module:Mainonly').on_main | ||
Line 19: | Line 14: | ||
function p.main(frame) | function p.main(frame) | ||
local args = frame:getParent().args | local args = frame:getParent().args | ||
mw.log("args", inspect(data)) | |||
local data = storeLocationsList.main() | local data = storeLocationsList.main(frame) | ||
mw.log(inspect(data)) | mw.log("data", inspect(data)) | ||
end | end | ||
Revision as of 12:10, 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) mw.log("data", inspect(data)) end return p