You cannot edit the templates used by SQL Server Management Studio (which would be nice).
You can create your own (parameterized templates) in C:\Users\Username\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\Templates\Sql (for SQL Server 2008)
source share