Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert spam edits.
[git.ikiwiki.info.git]
/
doc
/
templates
/
popup.mdwn
diff --git
a/doc/templates/popup.mdwn
b/doc/templates/popup.mdwn
index 244c1d4dd4152d4dba31cbc7413a0eba75070fd8..b721a95f9febee926f2ba220ece3cf837c25a16d 100644
(file)
--- 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>
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
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>
<span class="popup"><TMPL_VAR mouseover>
<span class="paren">[</span><span class="balloon"><TMPL_VAR popup></span><span class="paren">]</span>
</span>
+ENDBODY]]