* Add a templates page to the basewiki. It will automatically list all
[ikiwiki] / 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 Currently enabled: [[if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<br />
7 </span>
8 [[if test="sourcepage(plugins/contrib/*)" then="""[[meta title="<TMPL_VAR name> (third party plugin)"]]"""]]
9 <TMPL_IF core>[[tag type/core]]</TMPL_IF>
10 <TMPL_UNLESS NAME="name">
11 This template is used to create an infobox for an ikiwiki plugin. It uses
12 these parameters:
13 <ul>
14 <li>name - the name of the plugin
15 <li>author - the author of the plugin
16 <li>core - set to a true value if the plugin is enabled by default
17 </ul>
18 </TMPL_UNLESS>