Module:Products: Difference between revisions

48 bytes added ,  Yesterday at 23:12
no edit summary
(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 = {}...")
 
No edit summary
 
Line 3:
function p._main(frame)
local args = frame:getParent().args
args.item = mw.title.getCurrentTitle().text
local mw = require('mw')
956

edits