]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/pagetemplate.mdwn
web commit by AlexandreDupas: Fix typo.
[ikiwiki.git] / doc / plugins / pagetemplate.mdwn
1 [[template id=plugin name=pagetemplate author="[[Joey]]"]]
2 [[tag type/chrome]]
3
4 This plugin allows a page to be created using a different
5 [[template|wikitemplates]]. The page text is inserted into the template, so
6 the template controls the overall look and feel of the wiki page. This is
7 in contrast to the [[template]] plugin, which allows inserting templates
8 _into_ the body of a page.
9
10 This plugin can only use templates that are already installed in
11 /usr/share/ikiwiki/templates (or wherever ikiwiki is configured to look for
12 them). You can choose to use any .tmpl files in that directory. Example:
13
14         \[[pagetemplate template=my_fancy.tmpl]]