]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki/directive/pagetemplate.mdwn
format: New plugin, allows embedding differntly formatted text inside a page (ie...
[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 created using a different wikitemplates.
4 The page text is inserted into the template, so the template controls the
5 overall look and feel of the wiki page. This is in contrast to the
6 [[ikiwiki/directive/template]] directive, which allows inserting templates
7 _into_ the body of a page.
8
9 This directive can only reference templates that are already installed
10 by the system administrator, typically into the
11 `/usr/share/ikiwiki/templates` directory. Example:
12
13         \[[!pagetemplate template="my_fancy.tmpl"]]
14
15 [[!meta robots="noindex, follow"]]