You can only determine which template was used to create an existing drawing if the template contains a unique identifier stored inside it, such as a user variable, a dictionary entry, or whatever. As installed, AutoCAD does not come with a unique identifiers in the templates. You would have to create them first.