aboutsummaryrefslogtreecommitdiff
path: root/doc/templates/plugin.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-31 06:55:12 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-31 06:55:12 +0000
commitd73eb7d9b2569ebb44fc79480b6ec2d8c1faea5d (patch)
treea7a268140d43e358dd8e1cb3d5c29deef5ab1251 /doc/templates/plugin.mdwn
parent08d6f422a7848a2462418be58fcb186f5f2cec03 (diff)
downloadikiwiki-d73eb7d9b2569ebb44fc79480b6ec2d8c1faea5d.tar
ikiwiki-d73eb7d9b2569ebb44fc79480b6ec2d8c1faea5d.tar.gz
* Add a templates page to the basewiki. It will automatically list all
available templates. Rename the old templates page to wikitemplates. * Include the note template in the basewiki. * Add a popup template in the basewiki. CSS based on some by Martin Krafft. * Make the note, popup, and plugin templates detect missing variables and be self-documenting, listing the available variables.
Diffstat (limited to 'doc/templates/plugin.mdwn')
-rw-r--r--doc/templates/plugin.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn
index 5ce05b231..b4dabc341 100644
--- a/doc/templates/plugin.mdwn
+++ b/doc/templates/plugin.mdwn
@@ -7,3 +7,12 @@ Currently enabled: [[if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<b
</span>
[[if test="sourcepage(plugins/contrib/*)" then="""[[meta title="<TMPL_VAR name> (third party plugin)"]]"""]]
<TMPL_IF core>[[tag type/core]]</TMPL_IF>
+<TMPL_UNLESS NAME="name">
+This template is used to create an infobox for an ikiwiki plugin. It uses
+these parameters:
+<ul>
+<li>name - the name of the plugin
+<li>author - the author of the plugin
+<li>core - set to a true value if the plugin is enabled by default
+</ul>
+</TMPL_UNLESS>