Templates can bring order and structure to a web site. This article describes how templates can be used to control the page layout for a site that is currently composed of many pages of static HTML, using a popular template class and a new feature of PHP4.