I have never used TPL, but somewhere (on another forum I think) I read:
TPL files are text files filled with blocks of html that are included in their respective spots.
I found one tutorial that may be kind of close to what you are looking for.
It certainly was difficult to find much information about TPL (NOT 'Terminal' or 'Table producing' language). Hopefully someone else will be able to shed a little more light on the subject.