X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/cdf88c88216c75051e2e3cfc7844da4611e7c89b..f7ad016a3f0b4fe4461c1a7c274d9170e84a39a5:/doc/templates.mdwn?ds=sidebyside diff --git a/doc/templates.mdwn b/doc/templates.mdwn index 58d5d1146..1c234e3b5 100644 --- a/doc/templates.mdwn +++ b/doc/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 ``. 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 @@ -62,7 +65,7 @@ few things: Here's a sample template: - Name: [[]]
+ Name: \[[]]
Age:
Favorite color: