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