caller-relative template lookup