Editing Module:Sandbox/User:The Gaffer/Modules/Infobox Recipe
Revision as of 16:10, 14 November 2024 by The Gaffer (talk | contribs) (Created page with "-- Lua module to replicate the functionality of the Infobox Recipe template local p = {} function p._main(frame) local args = frame.args local mw = require('mw') -- Define raw material costs based on Semantic MediaWiki queries local rawmat1cost = args.rawmat1 and mw.smw.ask('+Sold item::' .. args.rawmat1 .. '|?Shop buy price|sort=Shop buy price|order=asc|limit=1') or "0" local rawmat2cost = args.rawmat2 and mw.smw.ask('+[[Sold item::'...")
Warning: You are editing an out-of-date revision of this page.
If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.