diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 11 | ||||
-rw-r--r-- | templates/note/index.html | 2 | ||||
-rw-r--r-- | templates/popup/index.html | 2 |
3 files changed, 10 insertions, 5 deletions
diff --git a/templates/index.html b/templates/index.html index 5a84bc9..6494ef9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -85,8 +85,10 @@ use <code><TMPL_IF variable>text<TMPL_ELSE>other text</TMPL_IF> <h2>template pages</h2> -<p>Template pages are regular wiki pages that are used as templates for other -pages.</p> +<p>Template pages are regular wiki pages containing a +<a href="http://ikiwiki.info/ikiwiki/directive/templatebody/">templatebody directive</a>, +used as templates for other pages. The parts of the template +page outside the directive can be used to document it.</p> <p>The <a href="http://ikiwiki.info/ikiwiki/directive/template/">template directive</a> allows template pages to be filled out and inserted into other pages in the wiki.</p> @@ -106,6 +108,9 @@ template pages to be filled out and inserted into other pages in the wiki.</p> +<p>If the template does not contain a <code>templatebody</code> directive, the entire +source of the page is used for the template. This is deprecated.</p> + <h2>template files</h2> <p>Template files are unlike template pages in that they have the extension @@ -191,7 +196,7 @@ interface; do not normally need to be customised.</li> <!--<div class="pagedate"> - Last edited <span class="date">Seg 06 Abr 2015 17:15:27 BRT</span> + Last edited <span class="date">Sex 12 Set 2014 17:23:58 BRT</span> </div> --> </div> diff --git a/templates/note/index.html b/templates/note/index.html index abb237a..61cef4f 100644 --- a/templates/note/index.html +++ b/templates/note/index.html @@ -109,7 +109,7 @@ parameter:</p> <!--<div class="pagedate"> - Last edited <span class="date">Seg 06 Abr 2015 17:15:27 BRT</span> + Last edited <span class="date">Dom 29 Mar 2015 18:27:19 BRT</span> </div> --> </div> diff --git a/templates/popup/index.html b/templates/popup/index.html index bf0fa01..38cc4c5 100644 --- a/templates/popup/index.html +++ b/templates/popup/index.html @@ -112,7 +112,7 @@ inline in the page, inside square brackets. <!--<div class="pagedate"> - Last edited <span class="date">Seg 06 Abr 2015 17:15:27 BRT</span> + Last edited <span class="date">Dom 29 Mar 2015 18:27:19 BRT</span> </div> --> </div> |