So far we have been speaking constantly of HTML design templates when discussing templates. Of course this is not the only approach. You can also create templates that are based totally on TypoScript. There are no disadvantages to this approach. If you are a TypoScript expert, it probably will not take you any longer to create a TypoScript template than to build an HTML design template.
With TypoScript templates you create the content step by step with TypoScript and then publish them. TypoScript templates are created using the Template module; you can create a new dataset of the Template type with the Pages or Lists module. Here is a simple example:
page = PAGE page.typoeNum = 0 page.bodyTag = <body> page { 10 = HTML 10.value = <table><tr><td> 20 = TEXT 20.value = Welcome 20.wrap = <h2> |</h2> 30 = HTML 30.value = </td></tr><tr><td> 40 = TEXT 40.value = Menu 50 = HTML 50.value = </td></tr>...