Module:Sandbox/User:The Gaffer/Modules/Infobox Recipe: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
The Gaffer (talk | contribs) No edit summary |
The Gaffer (talk | contribs) 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 |
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 |
table.insert(out, '| style="text-align: right;" | ' .. rawmat3cost) |
||
table.insert(out, '|-') |
table.insert(out, '|-') |
||
end |
end |