source: wiki/pages/PageTemplates @ 28488

Last change on this file since 28488 was 26484, checked in by obi, 10 years ago

add wiki pages

File size: 1.2 KB
Line 
1= Wiki Page Templates =
2
3  ''(since [http://trac.edgewall.org/milestone/0.11 0.11])''
4
5The default content for a new wiki page can be chosen from a list of page templates.
6
7That list is generated from all the wiki pages having a name starting with ''PageTemplates/''.
8The 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).
9
10To create a new template, simply create a new page having a name starting with ''PageTemplates/''.
11
12(Hint: one could even create a ''!PageTemplates/Template'' for facilitating the creation of new templates!)
13
14After 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.
15
16Available templates:
17[[TitleIndex(PageTemplates/)]]
18----
19See also: TracWiki
Note: See TracBrowser for help on using the repository browser.