]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki/directive/pagetemplate.mdwn
update
[git.ikiwiki.info.git] / doc / ikiwiki / directive / pagetemplate.mdwn
1 The `pagetemplate` directive is supplied by the [[!iki plugins/pagetemplate desc=pagetemplate]] plugin.
3 This directive allows a page to be displayed using a different template than
4 the default `page.tmpl` template.
6 The page text is inserted into the template, so the template controls the
7 overall look and feel of the wiki page. This is in contrast to the
8 [[ikiwiki/directive/template]] directive, which allows inserting templates
9 _into_ the body of a page.
11 This directive can only reference templates that are already installed
12 by the system administrator, typically into the
13 `/usr/share/ikiwiki/templates` directory. Example:
15         \[[!pagetemplate template="my_fancy.tmpl"]]
17 [[!meta robots="noindex, follow"]]