]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/templates/plugin.mdwn
web commit by tschwinge: Should perhaps explain the syntax. Done that extra-extensiv...
[git.ikiwiki.info.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 [[if test="sourcepage(plugins/contrib/*)" then="""[[meta title="<TMPL_VAR name> (third party plugin)"]]"""]]
10 <TMPL_IF core>[[tag plugins/type/core]]</TMPL_IF>
11 <TMPL_UNLESS NAME="name">
12 This template is used to create an infobox for an ikiwiki plugin. It uses
13 these parameters:
14 <ul>
15 <li>name - the name of the plugin
16 <li>author - the author of the plugin
17 <li>core - set to a true value if the plugin is enabled by default
18 </ul>
19 </TMPL_UNLESS>