august utc thanks but i think this does no more than does searching for linksto berry hastemplate xxx where xxx is a named template i wondered if there is a way of excluding links from all templates while still finding links in the text presently i'm working on linksto berry incontent plantae which finds a lot of plant articles in which the berry link should be to botanical berry