aboutsummaryrefslogtreecommitdiff
path: root/doc/templates/plugin.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/templates/plugin.mdwn')
-rw-r--r--doc/templates/plugin.mdwn5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn
index d36dd5f85..322c49445 100644
--- a/doc/templates/plugin.mdwn
+++ b/doc/templates/plugin.mdwn
@@ -1,4 +1,3 @@
-[[!templatebody <<ENDBODY
<span class="infobox">
Plugin: <TMPL_VAR name><br />
Author: <TMPL_VAR author><br />
@@ -9,8 +8,7 @@ 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>
-ENDBODY]]
-
+<TMPL_UNLESS name>
This template is used to create an infobox for an ikiwiki plugin. It uses
these parameters:
<ul>
@@ -18,3 +16,4 @@ 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>