Module:Item Products
From Guinea Isles Wiki
Documentation for this module may be created at Module:Item Products/doc
local p = {}
function p._main(args)
local item_id = nil
if args["id"] ~= nil then
item_id = args["id"]
else
item_id = mw.title.getCurrentTitle.text
end
return item_id
end
function p.main(frame)
local args = frame:getParent().args
return _main(args)
end
return p