]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/templates/popup.mdwn
popup: Hide template content from rendered documentation
[git.ikiwiki.info.git] / doc / templates / popup.mdwn
index b355daa2e6443952d72cae7ec8682074ebfe1d40..f552bb59aff14250aa852752ca8a8d52c6f81de2 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>
@@ -10,7 +9,9 @@ large for good usability.
 </ul>
 Note that browsers that do not support the CSS will display the popup
 inline in the page, inside square brackets.
-</TMPL_UNLESS>
+
+[[!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]]