X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d73eb7d9b2569ebb44fc79480b6ec2d8c1faea5d..11b9eb0c19cfb2e9b49b7a6f460381ce6fe52896:/doc/templates/popup.mdwn

diff --git a/doc/templates/popup.mdwn b/doc/templates/popup.mdwn
index 244c1d4dd..b721a95f9 100644
--- a/doc/templates/popup.mdwn
+++ b/doc/templates/popup.mdwn
@@ -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]]