How to use Templates?