]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki/directive/pagetemplate.mdwn
response
[ikiwiki.git] / doc / ikiwiki / directive / pagetemplate.mdwn
1 The `pagetemplate` directive is supplied by the [[!iki plugins/pagetemplate desc=pagetemplate]] plugin.
2
3 This directive allows a page to be displayed using a different
4 [[template|templates]] than the default `page.tmpl` template.
5
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.
10
11         \[[!pagetemplate template="my_fancy.tmpl"]]
12
13 [[!meta robots="noindex, follow"]]