PageTemplates » Cronologia » Versione 1
Anonimo, 10-11-2008 15:31
1 | 1 | = Wiki Page Templates = |
|
---|---|---|---|
2 | |||
3 | ''(since [http://trac.edgewall.org/milestone/0.11 0.11])'' |
||
4 | |||
5 | The default content for a new wiki page can be chosen from a list of page templates. |
||
6 | |||
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). |
||
9 | |||
10 | To 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 | |||
14 | Available templates: |
||
15 | [[TitleIndex(PageTemplates/)]] |
||
16 | |||
17 | ---- |
||
18 | See also: TracWiki |