If you paste the template code you have into a practice board and then post the URL as a reply here. Then someone could probably add the custom tag in the appropriate place for you.
Please see the thread on using the practice boards for further information.