]> sipb.mit.edu Git - ikiwiki.git/blob - underlays/basewiki/directive/pagetemplate.mdwn
631ea09a4070bdae4c2c19bfca6f5a6ac38d7ea1
[ikiwiki.git] / underlays / basewiki / directive / pagetemplate.mdwn
1 The `pagetemplate` directive is supplied by the [[!iki plugins/pagetemplate]] plugin.
2
3 This directive allows a page to be created using a different
4 wikitemplates. The page text is inserted into the template, so
5 the template controls the overall look and feel of the wiki page. This is
6 in contrast to the [[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. Example:
11
12         \[[!pagetemplate template=my_fancy.tmpl]]