I was able to solve my own question. In a different forum, I found that if I add the following node to the .vstemplate file, it becomes available for Shared projects:
<AppliesTo>SharedAssetsProject</AppliesTo>
I had tried VisualBasic + SharedAssetsProject, but that didn't work. It was only when I did SharedAssetsPorject alone that it worked.