]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates/note.mdwn
Use templatebody for the templates in the basewiki and docwiki
[ikiwiki.git] / doc / templates / note.mdwn
index 9ef5ad9421abcdb730996dc51a621ea5e74340fa..8de7374bc0c1a096cbe10fb26606547d99a0bae5 100644 (file)
@@ -1,11 +1,12 @@
+[[!templatebody <<ENDBODY
 <div class="notebox">
 <TMPL_VAR text>
 </div>
-<TMPL_UNLESS text>
+ENDBODY]]
+
 Use this template to insert a note into a page. The note will be styled to
 float to the right of other text on the page. This template has one
 parameter:
 <ul>
 <li>`text` - the text to display in the note
 </ul>
-</TMPL_UNLESS>