Web templates are ready made designs. Web template is just like a premade ready layout. User can make modification to it or use it as a base to jump start their web site building. A nicely and optimized design can bring lots of convenience to web designer or web developer. An effective web template allow one to jump start the design process and quickly move on to content building, allowing one to save more time in the process of building a web site.
We might divide a page template into a header, content, sidebar and footer where these are in separate files. The content will change most between pages, so rather than having a content file, we include the content into a page file which pulls in the individual template files and defines the unique features of that page. The unique features of a page will be the title, description and article content. We can define these at the start of the page template with say PHP code to set the value of variables that are used by the other templates such as the header template. Then we assemble the page by including the required templates and inserting the content.