aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/pagetemplate.mdwn
diff options
context:
space:
mode:
authorWilliam Uther <willu@cse.unsw.edu.au>2008-09-11 17:05:51 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:05:51 -0400
commitc69a7f758590c91bd137a8d1cfa99f37bf28045a (patch)
tree16cbc730e9b63528b6a608856e8221b4fba40390 /doc/plugins/pagetemplate.mdwn
parent4f0ac7fe59c196a602e07cc6c4abfc248999ec6b (diff)
downloadikiwiki-c69a7f758590c91bd137a8d1cfa99f37bf28045a.tar
ikiwiki-c69a7f758590c91bd137a8d1cfa99f37bf28045a.tar.gz
patch plugin documentation to refer to directive pages
Diffstat (limited to 'doc/plugins/pagetemplate.mdwn')
-rw-r--r--doc/plugins/pagetemplate.mdwn12
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/plugins/pagetemplate.mdwn b/doc/plugins/pagetemplate.mdwn
index 57d78483d..b81f0a4d7 100644
--- a/doc/plugins/pagetemplate.mdwn
+++ b/doc/plugins/pagetemplate.mdwn
@@ -1,14 +1,10 @@
[[!template id=plugin name=pagetemplate author="[[Joey]]"]]
[[!tag type/chrome]]
-This plugin allows a page to be created using a different
-[[template|wikitemplates]]. The page text is inserted into the template, so
-the template controls the overall look and feel of the wiki page. This is
-in contrast to the [[template]] plugin, which allows inserting templates
-_into_ the body of a page.
+This plugin implements the [[ikiwiki/directive/pagetemplate]] [[ikiwiki/directive]].
+The directive allows a page to be created using a different
+[[template|wikitemplates]].
This plugin can only use templates that are already installed in
/usr/share/ikiwiki/templates (or wherever ikiwiki is configured to look for
-them). You can choose to use any .tmpl files in that directory. Example:
-
- \[[!pagetemplate template=my_fancy.tmpl]]
+them). You can choose to use any .tmpl files in that directory.