close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changes between Version 2 and Version 3 of PageTemplates


Ignore:
Timestamp:
2018-05-12T08:27:23-07:00 (7 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PageTemplates

    v2 v3  
    1 = Wiki Page Templates =
    2 
    3   ''(since [trac:milestone:0.11 0.11])''
     1= Wiki Page Templates
    42
    53The default content for a new wiki page can be chosen from a list of page templates.
    64
    7 That list is generated from all the wiki pages having a name starting with ''PageTemplates/''.
    8 The initial content of a new page will simply be the content of the chosen template page, or a blank page if the special ''(blank page)'' entry is selected. When there are no wiki pages with the ''PageTemplates/'' prefix, the initial content will always be the blank page and the list selector will not be shown (i.e. this matches the behavior we had up to now).
     5The list is generated from all the wiki pages having a name starting with ''!PageTemplates/''.
     6The initial content of a new page will simply be the content of the chosen template page, or a blank page if the special ''(blank page)'' entry is selected. When there are no wiki pages with the ''!PageTemplates/'' prefix, the initial content will always be the blank page and the template list selector will not be shown.
    97
    10 To create a new template, simply create a new page having a name starting with ''PageTemplates/''.
     8To create a new template, simply create a new page having a name starting with ''!PageTemplates/''.
    119
    12 (Hint: one could even create a ''!PageTemplates/Template'' for facilitating the creation of new templates!)
     10Hint: one could even create a ''!PageTemplates/Template'' for facilitating the creation of new templates!
    1311
    14 After the first template has been created, a drop-down selection box will automatically appear on any new wiki pages that are created.  By default it is located on the right side of the 'Create this page' button. The default selection will be ''blank page'', or ''!DefaultPage'' if ''!PageTemplates/DefaultPage'' exists.
     12After the first template has been created, a drop-down selection box will automatically appear on any new wiki page that is created. By default it is located on the right side of the ''Create this page'' button. The default selection will be ''blank page'', or ''!DefaultPage'' if ''!PageTemplates/DefaultPage'' exists.
    1513
    16 Available templates:
     14The following templates are available on this site:
    1715[[TitleIndex(PageTemplates/)]]
     16
    1817----
    1918See also: TracWiki