]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates.mdwn
rootpage is not a pagespec
[ikiwiki.git] / doc / templates.mdwn
index b40e865e1e61b2c1839e5915a7a60cb7a77ede19..6b237bd9e4159bf4b9f1f61287ae27950da05049 100644 (file)
@@ -9,8 +9,6 @@ wiki.
 
 [[!if test="enabled(template) and enabled(inline)" then="""
 
-## Available templates
-
 These templates are available for inclusion onto other pages in this
 wiki:
 
@@ -65,7 +63,7 @@ few things:
 Here's a sample template:
 
         <span class="infobox">
-        Name: [[<TMPL_VAR raw_name>]]<br />
+        Name: \[[<TMPL_VAR raw_name>]]<br />
         Age: <TMPL_VAR age><br />
         <TMPL_IF NAME="color">
         Favorite color: <TMPL_VAR color><br />