Module:AlchemistList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Makes use of the Infobox Recipe function to automatically find subrecipes and determine the list of raw ingredients, previously it did this manually. Reformatted the output to look more similar to the Products table.)
mNo edit summary
Line 221: Line 221:


for i, _ in ipairs(item.reagents) do
for i, _ in ipairs(item.reagents) do
reagentCell:wikitext(item.reagents[i].quantity .. '&times; [[File:' .. item.reagents[i].name .. '.png|18px|link=' .. item.reagents[i].name .. ']]' .. '[[' .. item.reagents[i].name .. ']]<br>')
reagentCell:wikitext(item.reagents[i].quantity .. '&times; [[File:' .. item.reagents[i].name .. '.png|18px|link=' .. item.reagents[i].name .. ']] [[' .. item.reagents[i].name .. ']]<br>')
end
end