Module:MMGOverview

From Melvor Idle
Revision as of 21:28, 23 March 2024 by Ricewind (talk | contribs) (First draft. Is not usable until smw module is enabled on wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

-- Module used to collect all MoneyMakingGuides (under Category:Money making guides)
-- into one table overview.

local p = {}

local shared = require('Module:Shared')
local num = require('Module:Number')
local paramtest = require('Module:Shared/Paramtest')
local itemdb = require('Module:Items')
local icons = require('Module:Icons')


function p.main(frame)
	local args = frame:getParent().args
	return p._buildMMGTable(args)
end

function p._main(args)
end

function p.test()
	local args = {}
	local query = { '[[Category:Money making guides]]' }
	local data = mw.smw.ask(query)
	
	mw.log(data)
end

return p