SSMS Template Browser Add-In development
That would likely fall into the realm of SSMS Add-In Development.  Having said that, I'm not certain you can add a button to the Template Browser, even then.
Microsoft has a GitHub repo with a sample SSMS Add-In here.