Content added Content deleted
No edit summary |
No edit summary Tag: Reverted |
||
Line 4: | Line 4: | ||
p.getRecipe = function(frame) |
p.getRecipe = function(frame) |
||
local result = frame.args[1] |
|||
for k, v in pairs(recipelist) do |
for k, v in pairs(recipelist) do |
||
if v[ |
if v[2] == result then |
||
image = v[2] |
|||
end |
end |
||
end |
end |
||
local txt = image |
|||
return |
return txt |
||
end |
end |
||
Revision as of 19:32, 16 February 2022
Documentation for this module may be created at Module:Recipe/doc