Module:PetInfo

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

function this.returnData( frame ) if eggs[frame:preprocess('')] then local data = eggs[frame:preprocess('')] return frame:preprocess( ()			:format(, data.Image, (' %s '):format(data.Rarity:lower, data.Rarity), data.Obtained, tostring(data.Obtainable or 'false'), data.Curr, data.Damage)) else return 'This egg lacks info, thus no infobox is visible!' end end

return this