OK, I think I understand it now. The template only changes when you edit it. So changing it to "<a href="_TARGET_">_TEXT_</a>" gives the desired result in this case. However, there is absolutely nothing about the" Insert Hyperlink" dialogue in the manual, and the pop-up in the dialogue itself is only really useful as a reminder for the experienced user.
So, could a fuller explanation be added to the manual?