diff options
author | Simon McVittie <smcv@debian.org> | 2013-09-13 10:30:24 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2015-01-17 13:44:46 +0000 |
commit | f71f80bf430e22dc21c25340d3041d25052ea6a9 (patch) | |
tree | b14862c759bcaa8507db961406c0f09ab4858503 /doc/templates/popup.mdwn | |
parent | 6d8fd9bf0d9a901e3f62086ac625c43f047ae72a (diff) | |
download | ikiwiki-f71f80bf430e22dc21c25340d3041d25052ea6a9.tar ikiwiki-f71f80bf430e22dc21c25340d3041d25052ea6a9.tar.gz |
Use templatebody for the templates in the basewiki and docwiki
Now that ikiwiki.info has ikiwiki (>= 3.20140916) we can do this.
Diffstat (limited to 'doc/templates/popup.mdwn')
-rw-r--r-- | doc/templates/popup.mdwn | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/templates/popup.mdwn b/doc/templates/popup.mdwn index 92455eb21..b721a95f9 100644 --- a/doc/templates/popup.mdwn +++ b/doc/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]] |