Anonymous - 2011-08-18

If I need to create a template myself, what is the rule of the script?
I mean, how to define a template? where should I start to learn?