Module:EggInfo

local this = {} local eggs = require('Module:Utils/Eggs')

function this.returnData( frame ) if eggs[frame:preprocess('')] then local data = eggs[frame:preprocess('')] return frame:preprocess( ('')			:format(data.Image, data.IsShop or 'No', data.ShopCost or "N/A", data.World, data.HP, ('%s~%s'):format(data.Give[1], data.Give[2]), data.Type) ) else return 'This egg lacks info, thus no infobox is visible!' end end

return this