From 9d3b12259708d3d2c04d16637b58658ca3058ec9 Mon Sep 17 00:00:00 2001 From: Arquivo Publico de Memoria Coletiva Date: Wed, 4 May 2016 09:22:11 -0300 Subject: Updates doc again --- templates/index.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'templates/index.html') 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 <TMPL_IF variable>text<TMPL_ELSE>other text</TMPL_IF>

template pages

-

Template pages are regular wiki pages that are used as templates for other -pages.

+

Template pages are regular wiki pages containing a +templatebody directive, +used as templates for other pages. The parts of the template +page outside the directive can be used to document it.

The template directive allows template pages to be filled out and inserted into other pages in the wiki.

@@ -107,6 +109,9 @@ template pages to be filled out and inserted into other pages in the wiki.

+

If the template does not contain a templatebody directive, the entire +source of the page is used for the template. This is deprecated.

+

template files

Template files are unlike template pages in that they have the extension @@ -192,7 +197,7 @@ interface; do not normally need to be customised. -- cgit v1.2.3