]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/templates/plugin.mdwn
Testing. Added a link to the Wikipedia article of ikiwiki :)
[git.ikiwiki.info.git] / doc / templates / plugin.mdwn
1 [[!templatebody <<ENDBODY
2 <span class="infobox">
3 Plugin: <TMPL_VAR name><br />
4 Author: <TMPL_VAR author><br />
5 Included in ikiwiki: [[!if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]<br />
6 Enabled by default: <TMPL_IF core>yes<TMPL_ELSE>no</TMPL_IF><br />
7 Included in [[/plugins/goodstuff]]: [[!if test="backlink(plugins/goodstuff)" all=no then="""yes""" else="""no"""]]<br />
8 Currently enabled: [[!if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<br />
9 </span>
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 ENDBODY]]
14 This template is used to create an infobox for an ikiwiki plugin. It uses
15 these parameters:
16 <ul>
17 <li>name - the name of the plugin
18 <li>author - the author of the plugin
19 <li>core - set to a true value if the plugin is enabled by default
20 </ul>