]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki/directive/template.mdwn
more changes for removal of blog page
[ikiwiki.git] / doc / ikiwiki / directive / template.mdwn
1 The `template` directive is supplied by the [[!iki plugins/template desc=template]] plugin.
2
3 [[Templates]] are files that can be filled out and inserted into pages in the
4 wiki, by using the template directive. The directive has an `id` parameter
5 that identifies the template to use. The remaining parameters are used to
6 fill out the template.
7
8 Example:
9
10         \[[!template id=note text="""Here is the text to insert into my note."""]]
11
12 This fills out the `note` template, filling in the `text` field with
13 the specified value, and inserts the result into the page.
14
15 For a list of available templates, and details about how to create more,
16 see the [[templates]] page.
17
18 [[!meta robots="noindex, follow"]]