aboutsummaryrefslogtreecommitdiff
path: root/doc/templates/popup.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/templates/popup.mdwn')
-rw-r--r--doc/templates/popup.mdwn5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/templates/popup.mdwn b/doc/templates/popup.mdwn
index b721a95f9..92455eb21 100644
--- a/doc/templates/popup.mdwn
+++ b/doc/templates/popup.mdwn
@@ -1,3 +1,4 @@
+<TMPL_UNLESS 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,9 +10,7 @@ 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.
-
-[[templatebody <<ENDBODY
+</TMPL_UNLESS>
<span class="popup"><TMPL_VAR mouseover>
<span class="paren">[</span><span class="balloon"><TMPL_VAR popup></span><span class="paren">]</span>
</span>
-ENDBODY]]