跳到内容

模块:物品配方:修订间差异

添加1,144字节 、​ 2022年3月13日 (星期日)
创建页面,内容为“local p = {} function p.info(frame) local jsdata = mw.loadData("模块:物品配方/data") if jsdata[frame.args.name] == nil then return "" elseif jsdata[frame.args.name][frame.args.type] == nil then return "" else if frame.args.type == "配方" then local result = frame.args.name for i,v in ipairs(jsdata[frame.args.name][frame.args.type]) do if i == 1 then if v == 1 then result = result.."=" else result = result.."x"..v.."="…”
(创建页面,内容为“local p = {} function p.info(frame) local jsdata = mw.loadData("模块:物品配方/data") if jsdata[frame.args.name] == nil then return "" elseif jsdata[frame.args.name][frame.args.type] == nil then return "" else if frame.args.type == "配方" then local result = frame.args.name for i,v in ipairs(jsdata[frame.args.name][frame.args.type]) do if i == 1 then if v == 1 then result = result.."=" else result = result.."x"..v.."="…”)
(没有差异)