X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/b9e7064f70980b58b1bae754bee7fe3eff5fc84d..b642cbef80d120df3c9f3146eb1e39dfbe395a2d:/doc/templates/plugin.mdwn diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn index d62c87924..d36dd5f85 100644 --- a/doc/templates/plugin.mdwn +++ b/doc/templates/plugin.mdwn @@ -1,3 +1,4 @@ +[[!templatebody <<ENDBODY <span class="infobox"> Plugin: <TMPL_VAR name><br /> Author: <TMPL_VAR author><br /> @@ -6,10 +7,10 @@ Enabled by default: <TMPL_IF core>yes<TMPL_ELSE>no</TMPL_IF><br /> Included in [[/plugins/goodstuff]]: [[!if test="backlink(plugins/goodstuff)" all=no then="""yes""" else="""no"""]]<br /> Currently enabled: [[!if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<br /> </span> -[[!tag plugin <TMPL_VAR name>]] [[!if test="sourcepage(plugins/contrib/*)" then="""[[!meta title="<TMPL_VAR name> (third party plugin)"]]"""]] <TMPL_IF core>[[!tag plugins/type/core]]</TMPL_IF> -<TMPL_UNLESS NAME="name"> +ENDBODY]] + This template is used to create an infobox for an ikiwiki plugin. It uses these parameters: <ul> @@ -17,4 +18,3 @@ 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>