X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=blobdiff_plain;f=doc%2Ftemplates%2Fplugin.mdwn;h=322c494457af3768e54dbeaa56b6884902a42d3b;hp=cb67902eaf6e5098d7bfd47d7969324a337258dd;hb=f52f395437a946478da2a126015c05e3e0afdc1f;hpb=85d0f445d926c853fc68ad9e399b64d04589d0bc
diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn
index cb67902ea..322c49445 100644
--- a/doc/templates/plugin.mdwn
+++ b/doc/templates/plugin.mdwn
@@ -1,14 +1,14 @@
Plugin:
Author:
-Included in ikiwiki: [[if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]
+Included in ikiwiki: [[!if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]
Enabled by default: yesno
-Included in [[/plugins/goodstuff]]: [[if test="backlink(plugins/goodstuff) and glob(plugins/) and !sourcepage(plugins/contrib/*)" then="""yes""" else="""no"""]]
-Currently enabled: [[if test="enabled()" then="yes" else="no"]]
+Included in [[/plugins/goodstuff]]: [[!if test="backlink(plugins/goodstuff)" all=no then="""yes""" else="""no"""]]
+Currently enabled: [[!if test="enabled()" then="yes" else="no"]]
-[[if test="sourcepage(plugins/contrib/*)" then="""[[meta title=" (third party plugin)"]]"""]]
-[[tag type/core]]
-
+[[!if test="sourcepage(plugins/contrib/*)" then="""[[!meta title=" (third party plugin)"]]"""]]
+[[!tag plugins/type/core]]
+
This template is used to create an infobox for an ikiwiki plugin. It uses
these parameters: