aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html11
1 files changed, 8 insertions, 3 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>&lt;TMPL_IF variable&gt;text&lt;TMPL_ELSE&gt;other text&lt;/TMPL_IF&gt
<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>