web commit by JoshTriplett: Add line for "included in goodstuff", using backlink...
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 8 May 2007 19:26:45 +0000 (19:26 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 8 May 2007 19:26:45 +0000 (19:26 +0000)
doc/templates/plugin.mdwn

index b4dabc341fef3b2241f7f89a2c31bd653d5d1951..e4b4f66928411a0f3ca67d675a537fb436c2c38d 100644 (file)
@@ -3,6 +3,7 @@ Plugin: <TMPL_VAR name><br />
 Author: <TMPL_VAR author><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 />
 </span>
 [[if test="sourcepage(plugins/contrib/*)" then="""[[meta title="<TMPL_VAR name> (third party plugin)"]]"""]]