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/note.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/note.mdwn')
-rw-r--r-- | doc/templates/note.mdwn | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/templates/note.mdwn b/doc/templates/note.mdwn index 9ef5ad942..8de7374bc 100644 --- a/doc/templates/note.mdwn +++ b/doc/templates/note.mdwn @@ -1,11 +1,12 @@ +[[!templatebody <<ENDBODY <div class="notebox"> <TMPL_VAR text> </div> -<TMPL_UNLESS text> +ENDBODY]] + Use this template to insert a note into a page. The note will be styled to float to the right of other text on the page. This template has one parameter: <ul> <li>`text` - the text to display in the note </ul> -</TMPL_UNLESS> |