2010-01-13 03:36:28 +01:00
|
|
|
[[!template id=plugin name=ftemplate author="[[rubykat]]"]]
|
|
|
|
[[!tag type/meta type/format]]
|
|
|
|
|
2010-05-19 13:20:44 +02:00
|
|
|
This plugin provides the [[ikiwiki/directive/ftemplate]] directive.
|
2010-01-13 03:36:28 +01:00
|
|
|
|
2010-05-19 13:20:44 +02:00
|
|
|
This is like the [[ikiwiki/directive/template]] directive, with the addition
|
|
|
|
that one does not have to provide all the values in the call to the template,
|
|
|
|
because ftemplate can query structured data ("fields") using the [[field]]
|
|
|
|
plugin.
|
2010-01-13 03:36:28 +01:00
|
|
|
|
2010-05-19 13:20:44 +02:00
|
|
|
## Activate the plugin
|
2010-01-13 03:36:28 +01:00
|
|
|
|
2010-05-19 13:20:44 +02:00
|
|
|
add_plugins => [qw{goodstuff ftemplate ....}],
|
2010-01-13 03:36:28 +01:00
|
|
|
|
|
|
|
## PREREQUISITES
|
|
|
|
|
|
|
|
IkiWiki
|
|
|
|
IkiWiki::Plugin::field
|
|
|
|
HTML::Template
|
|
|
|
Encode
|
|
|
|
|
|
|
|
## DOWNLOAD
|
|
|
|
|
|
|
|
* browse at GitHub: <http://github.com/rubykat/ikiplugins/blob/master/IkiWiki/Plugin/ftemplate.pm>
|
|
|
|
* git repo at git://github.com/rubykat/ikiplugins.git
|