Module:Infobox Recipe: Difference between revisions
no edit summary
m (Spaces to tabs) |
The Gaffer (talk | contribs) No edit summary |
||
Line 23:
local output1Value = args.output1 and mw.smw.ask('[[:+]][[' .. args.output1 .. ']]|?Value|limit=1')
local output1TotalValue = 0
mw.logObject(output1Value[1]['Value'])
if output1Value[1]['Value'] ~= nil then
output1TotalValue = output1Value[1]['Value'] * (tonumber(args.output1qty) or 1)
else
|