aboutsummaryrefslogtreecommitdiff
path: root/doc/templates.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2007-12-12 01:52:26 -0500
committerJoey Hess <joey@kitenet.net>2007-12-12 01:52:26 -0500
commit8576fe4c4913c2ebe678c54f9353ac22c6bdaa84 (patch)
tree5fb544d50ebdb2af4ceb5a5b434e15576f8992b1 /doc/templates.mdwn
parent035a57f209e02c954a0edf798bbc4879a6311a3f (diff)
downloadikiwiki-8576fe4c4913c2ebe678c54f9353ac22c6bdaa84.tar
ikiwiki-8576fe4c4913c2ebe678c54f9353ac22c6bdaa84.tar.gz
incomplate edittemplate plugin
Diffstat (limited to 'doc/templates.mdwn')
-rw-r--r--doc/templates.mdwn9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/templates.mdwn b/doc/templates.mdwn
index 33e02b96d..0b0a61af2 100644
--- a/doc/templates.mdwn
+++ b/doc/templates.mdwn
@@ -43,11 +43,10 @@ To create a template, simply add a template directive to a page, and page will
provide a link that can be used to create the template. The template is a
regular wiki page, located in the `templates/` directory.
-The template uses the syntax used by the
-[cpan HTML::Template](http://search.cpan.org/search?mode=dist&query=HTML::Template)
-perl module, which allows for some fairly complex things to be done.
-Consult its documentation for the full syntax, but all you really need to know
-are a few things:
+The template uses the syntax used by the [[cpan HTML::Template]] perl
+module, which allows for some fairly complex things to be done. Consult its
+documentation for the full syntax, but all you really need to know are a
+few things:
* To insert the value of a variable, use `<TMPL_VAR variable>`.
* To make a block of text conditional on a variable being set use