summaryrefslogtreecommitdiff
path: root/templates/popup.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-09-06 22:09:03 +0200
committerJonas Smedegaard <dr@jones.dk>2017-09-06 22:09:03 +0200
commit8991362eb46a1fc8f8c4a2d37c9270d9184a7027 (patch)
tree9ca8a3e31b0ef92b4eb64f2e5a74f77aa9d59115 /templates/popup.mdwn
parentd2900fb6570a284cd6de6d4c0110cd89384de4af (diff)
parenta4d8b1a6fba4a0c21a9acecabc6ddd1b54aacb44 (diff)
Merge branch 'ikiwiki'HEADmaster
Diffstat (limited to 'templates/popup.mdwn')
-rw-r--r--templates/popup.mdwn5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/popup.mdwn b/templates/popup.mdwn
index 92455eb..b721a95 100644
--- a/templates/popup.mdwn
+++ b/templates/popup.mdwn
@@ -1,4 +1,3 @@
-<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>
@@ -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]]