From f53cb61c08649618587228ced63e1ddd5d68ddd2 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Sat, 15 Sep 2001 19:19:17 +0000 Subject: none --- TWiki/TWikiTemplates.mdwn | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/TWiki/TWikiTemplates.mdwn b/TWiki/TWikiTemplates.mdwn index 80513101..80abe6f3 100644 --- a/TWiki/TWikiTemplates.mdwn +++ b/TWiki/TWikiTemplates.mdwn @@ -71,7 +71,7 @@ All common parts are defined in a master template, **twiki.tmpl**, ## Types of Template - There are two types of templates: +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 @@ -114,9 +114,9 @@ Template topics define the default text for new topics. There are three types of > > - All template topics are located in the %TWIKIWEB% web. The [[WebTopicEditTemplate]] can be overloaded. The following search order applies when you create a new topic: +All template topics are located in the %TWIKIWEB% web. The [[WebTopicEditTemplate]] can be overloaded. The following search order applies when you create a new topic: -1. The topic name specified by the `templatetopic` parameter. +1. The topic name specified by the `templatetopic` CGI parameter. 2. WebTopicEditTemplate in the current web. 3. WebTopicEditTemplate in the %TWIKIWEB% web. @@ -126,7 +126,7 @@ Here is an example for creating new topics based on a specific template topic:
@@ -135,10 +135,11 @@ Above form asks for a topic name. A hidden input tag of name "templatetopic" spe
 <form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/">
    * New example topic:
-     <input type="text" name="topic" value="ExampleTopic%SERVERTIME{$year$mo$day}%" size="22">
-     <input type="hidden" name="templatetopic" value="ExampleTopicTemplate">
-     <input type="hidden" name="onlywikiname" value="on">
-     <input type="submit" value="Create"> (date format is YYYYMMDD)
+     <input type="text" name="topic" value="ExampleTopic%SERVERTIME{$yearx$mox$day}%" size="23" />
+     <input type="hidden" name="templatetopic" value="ExampleTopicTemplate" />
+     <input type="hidden" name="onlywikiname" value="on" />
+     <input type="submit" value="Create" />
+     (date format is <nop>YYYYxMMxDD)
 </form>
 
-- cgit v1.2.3