]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates/plugin.mdwn
web commit by JoshTriplett: Use a specific ID for the changelog toggleable, to avoid...
[ikiwiki.git] / doc / templates / plugin.mdwn
index ca69efd2399615815e865f0f132d0d3b8decae29..6715614df8efcd4563c8fc31a4b029fbb5513d17 100644 (file)
@@ -1,6 +1,8 @@
 <span class="infobox">
 Plugin: <TMPL_VAR name><br />
 Author: <TMPL_VAR author><br />
 <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 />
 Enabled by default: <TMPL_IF core>yes<TMPL_ELSE>no</TMPL_IF><br />
 Enabled by default: <TMPL_IF core>yes<TMPL_ELSE>no</TMPL_IF><br />
-Included in ikiwiki: <TMPL_IF included>yes<TMPL_ELSE>no</TMPL_IF><br />
+Currently enabled: [[if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<br />
 </span>
 </span>
+[[if test="sourcepage(plugins/contrib/*)" then="""[[meta title="<TMPL_VAR name> (third party plugin)"]]"""]]