Module:Products: Difference between revisions
no edit summary
The Gaffer (talk | contribs) (Created page with "local p = {} function p._main(frame) local args = frame:getParent().args local mw = require('mw') local products = p.getProducts(args) local recipeNames = p.extractRecipeNames(products) local prodprices = p.getShopBuyPrices(products) -- Generate and return a table containing the product information local output = p.displayProductTable(prodprices) return output end function p.extractRecipeNames(products) local recipeNames = {}...") |
The Gaffer (talk | contribs) No edit summary |
||
Line 3:
function p._main(frame)
local args = frame:getParent().args
args.item = mw.title.getCurrentTitle().text
local mw = require('mw')
|