X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d86cd24a31916e8d6d2ad0627ee4cd02c15e70d6..e112b8f385992ec4b3056d397802abe092547bb5:/doc/templates/plugin.mdwn?ds=sidebyside diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn index d29e721a9..d36dd5f85 100644 --- a/doc/templates/plugin.mdwn +++ b/doc/templates/plugin.mdwn @@ -1,14 +1,16 @@ +[[!templatebody < 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)" all=no 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 plugins/type/core]] - +[[!if test="sourcepage(plugins/contrib/*)" then="""[[!meta title=" (third party plugin)"]]"""]] +[[!tag plugins/type/core]] +ENDBODY]] + This template is used to create an infobox for an ikiwiki plugin. It uses these parameters:
    @@ -16,4 +18,3 @@ these parameters:
  • author - the author of the plugin
  • core - set to a true value if the plugin is enabled by default
-