Module:TermLite

local p = {}

function p.fetchTerm(game, page) if not string.find("foo (bar)", " %([^%)]+%)$") then		return page	end

local utilsCargo = require("Module:UtilsCargo")

local queryResults = utilsCargo.query("Terminologies", "term", {		where = utilsCargo.allOf( { _pageName = page }, utilsCargo.holdsAll("games", { game }) )	})	return queryResults[1] and queryResults[1].term or page end

return p