OK, for the HTML templates there's already a {forumname} at {forumlink} line below the {forumurl} line so I removed the {forumurl} line completely in those templates. But for the text templates there are no such lines - it's just {forumurl}, so I replaced those with forumlink.