close
Warning:
Can't synchronize with repository "(default)" (/mykopat/svn/repos/scata does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jun 3, 2019, 4:57:48 PM (5 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
1 | | = Wiki Page Templates = |
2 | | |
3 | | ''(since [http://trac.edgewall.org/milestone/0.11 0.11])'' |
| 1 | = Wiki Page Templates |
4 | 2 | |
5 | 3 | The default content for a new wiki page can be chosen from a list of page templates. |
6 | 4 | |
7 | | That list is made up from all the existing 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's actually no wiki pages matching that 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). |
| 5 | That list is generated from all the wiki pages having a name starting with ''PageTemplates/''. |
| 6 | 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, ie this matches the behavior we had up to now. |
9 | 7 | |
10 | 8 | To create a new template, simply create a new page having a name starting with ''PageTemplates/''. |
11 | 9 | |
12 | | (Hint: one could even create a ''!PageTemplates/Template'' for facilitating the creation of new templates!) |
| 10 | Hint: one could even create a ''!PageTemplates/Template'' for facilitating the creation of new templates! |
13 | 11 | |
14 | | After you have created your new template, 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. |
| 12 | 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. |
15 | 13 | |
16 | 14 | Available templates: |
17 | 15 | [[TitleIndex(PageTemplates/)]] |
| 16 | |
18 | 17 | ---- |
19 | 18 | See also: TracWiki |