diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-03-31 06:55:12 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-03-31 06:55:12 +0000 |
commit | d73eb7d9b2569ebb44fc79480b6ec2d8c1faea5d (patch) | |
tree | a7a268140d43e358dd8e1cb3d5c29deef5ab1251 /doc/plugins | |
parent | 08d6f422a7848a2462418be58fcb186f5f2cec03 (diff) |
* 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/plugins')
-rw-r--r-- | doc/plugins/inline.mdwn | 2 | ||||
-rw-r--r-- | doc/plugins/search.mdwn | 4 | ||||
-rw-r--r-- | doc/plugins/template.mdwn | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/doc/plugins/inline.mdwn b/doc/plugins/inline.mdwn index fd894baa1..3b1aaf0a0 100644 --- a/doc/plugins/inline.mdwn +++ b/doc/plugins/inline.mdwn @@ -37,7 +37,7 @@ directive: * `quick` - Build archives in quick mode, without reading page contents for metadata. By default, this also turns off generation of any feeds. * `template` - Specifies the template to fill out to display each inlined - page. By default the `inlinepage` [[template|templates]] is used, while + page. By default the `inlinepage` [[template|wikitemplates]] is used, while the `archivepage` template is used for archives. Set this parameter to use some other, custom template, such as the `titlepage` template that only shows post titles. Note that you should still set `archive=yes` if diff --git a/doc/plugins/search.mdwn b/doc/plugins/search.mdwn index b324251bf..7b32714f4 100644 --- a/doc/plugins/search.mdwn +++ b/doc/plugins/search.mdwn @@ -5,8 +5,8 @@ This plugin is included in ikiwiki, but is not enabled by default. It adds full text search to ikiwiki, using the [[HyperEstraier]] engine. It's possible to configure HyperEstraier via one of ikiwiki's -[[templates]], but for most users, no configuration should be needed aside -from enabling the plugin. +[[templates|wikitemplates]], but for most users, no configuration should be +needed aside from enabling the plugin. This plugin has a configuration option. To change the path to estseek.cgi, set `--estseek=/path/to/estseek.cgi` diff --git a/doc/plugins/template.mdwn b/doc/plugins/template.mdwn index 98188d7dc..4efab57e3 100644 --- a/doc/plugins/template.mdwn +++ b/doc/plugins/template.mdwn @@ -23,9 +23,13 @@ large chunks of marked up text to be embedded into a template: * Really 8 and a half. """]] +Some templates are included in the wiki by default; these are listed in the +[[templates]] page. + To create a template, make a page in the wiki named `template/foo`. Note that this is a different location than the directory used for the -[[templates]] used to build the wiki itself, which is not part of the wiki. +[[templates|wikitemplates]] used to build the wiki itself, which is not +part of the wiki. The template uses the syntax used by the [[cpan HTML::Template]] perl module, which allows for some fairly complex things to be done. Consult its |