summaryrefslogtreecommitdiff
path: root/templates.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-08-01 18:51:53 +0200
committerJonas Smedegaard <dr@jones.dk>2008-08-01 18:51:53 +0200
commit08184b4275de1db66ad5da4c9245772f18af86c8 (patch)
tree5b08a76e7e1a0f6aba67df9d8dc4c4a14b429173 /templates.mdwn
parent6b0e7efc7a87963793cbdf81d1dc24016b970dab (diff)
Sync with ikiwiki 2.55.
Diffstat (limited to 'templates.mdwn')
-rw-r--r--templates.mdwn3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates.mdwn b/templates.mdwn
index 58d5d11..b40e865 100644
--- a/templates.mdwn
+++ b/templates.mdwn
@@ -50,6 +50,9 @@ 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:
+* Each parameter you pass to the template directive will generate a
+ template variable. There are also some pre-defined variables like PAGE
+ and BASENAME.
* To insert the value of a variable, use `<TMPL_VAR variable>`. Wiki markup
in the value will first be converted to html.
* To insert the raw value of a variable, with wiki markup not yet converted