X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/139a8b09f5d0c6ff2efe27ea625ae128834c9899..3c1ba77639f83794e2f8331280d00d7d36d08992:/doc/templates/plugin.mdwn diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn index 5ce05b231..322c49445 100644 --- a/doc/templates/plugin.mdwn +++ b/doc/templates/plugin.mdwn @@ -1,9 +1,19 @@ 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
-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: +
    +
  • name - the name of the plugin +
  • author - the author of the plugin +
  • core - set to a true value if the plugin is enabled by default +
+