First draft of template engine chapter

I've added myself to the table of contributors, but I have a few questions about the information we're choosing to present.
This could be saved for later, but: Are there situations in which one might think to use a template, but in which it might actually be a bad idea? (E.g. generating XML for RPC, potentially?)