Module:Sandbox/User:The Gaffer/Modules/Infobox Recipe: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 61: Line 61:
table.insert(out, '| [[' .. args.rawmat2 .. ']]')
table.insert(out, '| [[' .. args.rawmat2 .. ']]')
table.insert(out, '| style="text-align: right;" | ' .. (args.rawmat2qty or 1))
table.insert(out, '| style="text-align: right;" | ' .. (args.rawmat2qty or 1))
table.insert(out, '| style="text-align: right;" | ' .. rawmat2cost[1])
table.insert(out, '| style="text-align: right;" | ' .. rawmat2cost)
table.insert(out, '|-')
table.insert(out, '|-')
end
end
Line 68: Line 68:
table.insert(out, '| [[' .. args.rawmat3 .. ']]')
table.insert(out, '| [[' .. args.rawmat3 .. ']]')
table.insert(out, '| style="text-align: right;" | ' .. (args.rawmat3qty or 1))
table.insert(out, '| style="text-align: right;" | ' .. (args.rawmat3qty or 1))
table.insert(out, '| style="text-align: right;" | ' .. rawmat3cost[1])
table.insert(out, '| style="text-align: right;" | ' .. rawmat3cost)
table.insert(out, '|-')
table.insert(out, '|-')
end
end