This is very handy. I think a hot string (or text-expander) function can also help for the template like in this post.