X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/297ff849b93e5a75074e321fe65500f0e091601c..0daa7a122f5e5c51fbd091a1f0c7b720b59a6172:/doc/plugins/pagetemplate.mdwn diff --git a/doc/plugins/pagetemplate.mdwn b/doc/plugins/pagetemplate.mdwn index d5edf2097..53f069d0d 100644 --- a/doc/plugins/pagetemplate.mdwn +++ b/doc/plugins/pagetemplate.mdwn @@ -1,14 +1,10 @@ [[!template id=plugin name=pagetemplate author="[[Joey]]"]] [[!tag type/chrome]] -This plugin allows a page to be created using a different -[[template|wikitemplates]]. The page text is inserted into the template, so -the template controls the overall look and feel of the wiki page. This is -in contrast to the [[template]] plugin, which allows inserting templates -_into_ the body of a page. +This plugin provides the [[ikiwiki/directive/pagetemplate]] +[[ikiwiki/directive]], which allows a page to be displayed +using a different [[template|wikitemplates]] than the default. This plugin can only use templates that are already installed in -/usr/share/ikiwiki/templates (or wherever ikiwiki is configured to look for -them). You can choose to use any .tmpl files in that directory. Example: - - \[[pagetemplate template=my_fancy.tmpl]] +`/usr/share/ikiwiki/templates` (or wherever ikiwiki is configured to look for +them). You can choose to use any .tmpl files in that directory.