X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/blobdiff_plain/f8fe627315f2d4eb29924606ade6bbee14914a14..38d258b171acf7268c7a2bbeaf2cb910b74a025a:/doc/templates/plugin.mdwn diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn index f198b07f2..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 /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: