Module:Album image

local p = {}

function p._main(title) local cargo = mw.ext.cargo local results = cargo.query(		'albums',		'cover',		{ where = 'name = "' .. title .. '"' }	) for r = 1, #results do		local result = results[r] return result['cover'] end end

function p.main(frame) return p._main(frame.args[1]) end

return p