]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates/note.mdwn
Revert "Use templatebody for the templates in the basewiki and docwiki"
[ikiwiki.git] / doc / templates / note.mdwn
index 8de7374bc0c1a096cbe10fb26606547d99a0bae5..9ef5ad9421abcdb730996dc51a621ea5e74340fa 100644 (file)
@@ -1,12 +1,11 @@
-[[!templatebody <<ENDBODY
 <div class="notebox">
 <TMPL_VAR text>
 </div>
 <div class="notebox">
 <TMPL_VAR text>
 </div>
-ENDBODY]]
-
+<TMPL_UNLESS text>
 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>
 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>