Hacking the templates requires understanding how it all works. Or rather, how your hacks break things, what they break, why and how to fix the breaks.