]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates/popup.mdwn
Change Projects link to point to projects DB
[ikiwiki.git] / doc / templates / popup.mdwn
index 244c1d4dd4152d4dba31cbc7413a0eba75070fd8..b721a95f9febee926f2ba220ece3cf837c25a16d 100644 (file)
@@ -1,4 +1,3 @@
-<TMPL_UNLESS NAME="mouseover">
 Use this template to create a popup window that is displayed when the mouse
 is over part of the page. This template has two parameters:
 <ul>
@@ -9,8 +8,10 @@ anything, even images or a whole little wiki page, but should not be too
 large for good usability.
 </ul>
 Note that browsers that do not support the CSS will display the popup
-inline in the page, inside parens.
-</TMPL_UNLESS>
+inline in the page, inside square brackets.
+
+[[templatebody <<ENDBODY
 <span class="popup"><TMPL_VAR mouseover>
 <span class="paren">[</span><span class="balloon"><TMPL_VAR popup></span><span class="paren">]</span>
 </span>
+ENDBODY]]