I don't believe you can do this in the template. The summary reference will need to reference a work item ID, and the ID of the work item instantiated from the template is not known. You could write a custom follow-up action the add such an entry to the Summary field.