BAT does have this available under Import/Export - Export. Then under Device Data choose Phone Button Template. Run the export then save the tar file from Upload/Download Files and you will have the csv for your templates that you can then import to 12.5.
Phone template is not Phone "Button" Template, I don't see in BAT.
7945 model has Phone template
7921 model has its own Phone template
Unfortunately there is no way to export the Phone Templates from CUCM that I am aware of.