summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikeMannix <MikeMannix>2001-09-18 05:33:48 +0000
committerMikeMannix <MikeMannix>2001-09-18 05:33:48 +0000
commit1631f03da6268a62d4ad087a73b7766681decee9 (patch)
tree8401310037d1c87e7ce71ca405aa203e26253520
parent3748d6f04706b05c20fb70e5daf66cea6c66ee38 (diff)
none
-rw-r--r--TWiki/TWikiTemplates.mdwn6
1 files changed, 5 insertions, 1 deletions
diff --git a/TWiki/TWikiTemplates.mdwn b/TWiki/TWikiTemplates.mdwn
index 6408597d..a6c257ab 100644
--- a/TWiki/TWikiTemplates.mdwn
+++ b/TWiki/TWikiTemplates.mdwn
@@ -6,7 +6,7 @@ _Definition of the templates used to render all HTML pages displayed in TWiki_
## <a name="Overview"> Overview </a>
-The new modular template system offers flexible, easy control over the layout of all TWiki pages. The master template approach groups parts that are shared by several templates - like headers and footers - in a common file. Special variables allow individual layouts to include parts from a master template - variables are mixed with regular HTML mark-up for template-specific content.
+The new modular template system offers flexible, easy control over the layout of all TWiki pages. The master template approach groups parts that are shared by several templates - like headers and footers - in a common file. Special variables allow individual layouts to include parts from a master template - variables are mixed with regular HTML mark-up for template-specific content. Templates are used to define page layout, and also to supplydefault content for new pages.
## <a name="Major_changes_from_the_previous_"> Major changes from the previous template system </a>
@@ -74,6 +74,8 @@ There are two types of templates:
* **HTML Page Templates**: Defines layout of %WIKITOOLNAME% pages
* **Template Topics**: Defines default text when you create a new topic
+<a name="HtmlTemplates"></a>
+
### <a name="HTML_Page_Templates"> </a> HTML Page Templates
%WIKITOOLNAME% uses HTML template files for all actions like topic view, edit, preview and so on. This allows you to change the look and feel of all pages by editing just some template files.
@@ -89,6 +91,8 @@ The template files are in the <code>**twiki/templates**</code> directory. As an
Special variables are used in templates, especially in `view`, to display [[TWikiMetaData]].
+<a name="TemplateTopics"></a>
+
### <a name="Template_Topics"> Template Topics </a>
Template topics define the default text for new topics. There are three types of template topics: