aboutsummaryrefslogtreecommitdiff
path: root/doc/templates/plugin.mdwn
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2013-09-13 10:30:24 +0100
committerSimon McVittie <smcv@debian.org>2015-01-17 13:44:46 +0000
commitf71f80bf430e22dc21c25340d3041d25052ea6a9 (patch)
treeb14862c759bcaa8507db961406c0f09ab4858503 /doc/templates/plugin.mdwn
parent6d8fd9bf0d9a901e3f62086ac625c43f047ae72a (diff)
downloadikiwiki-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/plugin.mdwn')
-rw-r--r--doc/templates/plugin.mdwn5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn
index 322c49445..d36dd5f85 100644
--- a/doc/templates/plugin.mdwn
+++ b/doc/templates/plugin.mdwn
@@ -1,3 +1,4 @@
+[[!templatebody <<ENDBODY
<span class="infobox">
Plugin: <TMPL_VAR name><br />
Author: <TMPL_VAR author><br />
@@ -8,7 +9,8 @@ Currently enabled: [[!if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<
</span>
[[!if test="sourcepage(plugins/contrib/*)" then="""[[!meta title="<TMPL_VAR name> (third party plugin)"]]"""]]
<TMPL_IF core>[[!tag plugins/type/core]]</TMPL_IF>
-<TMPL_UNLESS name>
+ENDBODY]]
+
This template is used to create an infobox for an ikiwiki plugin. It uses
these parameters:
<ul>
@@ -16,4 +18,3 @@ these parameters:
<li>author - the author of the plugin
<li>core - set to a true value if the plugin is enabled by default
</ul>
-</TMPL_UNLESS>