]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates.mdwn
make message a bit more generic
[ikiwiki.git] / doc / templates.mdwn
index 205cb5b04ee19a898e474373297e8832bf7eeeb5..b40e865e1e61b2c1839e5915a7a60cb7a77ede19 100644 (file)
@@ -1,3 +1,4 @@
+[[!meta robots="noindex, follow"]]
 [[!if test="enabled(template)"
 then="This wiki has templates **enabled**."
 else="This wiki has templates **disabled**."
@@ -49,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