]> sipb.mit.edu Git - ikiwiki.git/blob - doc/templates/plugin.mdwn
d62c879249d307a68dd65ba9a94d983858c3d9a5
[ikiwiki.git] / doc / templates / plugin.mdwn
1 <span class="infobox">
2 Plugin: <TMPL_VAR name><br />
3 Author: <TMPL_VAR author><br />
4 Included in ikiwiki: [[!if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]<br />
5 Enabled by default: <TMPL_IF core>yes<TMPL_ELSE>no</TMPL_IF><br />
6 Included in [[/plugins/goodstuff]]: [[!if test="backlink(plugins/goodstuff)" all=no then="""yes""" else="""no"""]]<br />
7 Currently enabled: [[!if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<br />
8 </span>
9 [[!tag plugin <TMPL_VAR name>]]
10 [[!if test="sourcepage(plugins/contrib/*)" then="""[[!meta title="<TMPL_VAR name> (third party plugin)"]]"""]]
11 <TMPL_IF core>[[!tag plugins/type/core]]</TMPL_IF>
12 <TMPL_UNLESS NAME="name">
13 This template is used to create an infobox for an ikiwiki plugin. It uses
14 these parameters:
15 <ul>
16 <li>name - the name of the plugin
17 <li>author - the author of the plugin
18 <li>core - set to a true value if the plugin is enabled by default
19 </ul>
20 </TMPL_UNLESS>