diff options
author | Arquivo Publico de Memoria Coletiva <arquivo@fluxo.info> | 2016-05-04 09:22:11 -0300 |
---|---|---|
committer | Arquivo Publico de Memoria Coletiva <arquivo@fluxo.info> | 2016-05-04 09:22:11 -0300 |
commit | 9d3b12259708d3d2c04d16637b58658ca3058ec9 (patch) | |
tree | a98bdad584bc33f4df77968e810ab4224c414b9b /templates/index.html | |
parent | 386338d201b5efcdcd1e37ec797498423a76d66f (diff) | |
download | arquivo-9d3b12259708d3d2c04d16637b58658ca3058ec9.tar.gz arquivo-9d3b12259708d3d2c04d16637b58658ca3058ec9.tar.bz2 |
Updates doc again
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index 25fb4f5742d..6a78b260e70 100644 --- a/templates/index.html +++ b/templates/index.html @@ -86,8 +86,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> @@ -107,6 +109,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 @@ -192,7 +197,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> |