From 6634fec4377c1d358edc87c3819c280a9e273380 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 22 Oct 2008 21:05:40 +0200 Subject: Init with ikiwiki 2.67. --- ikiwiki/directive/template.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ikiwiki/directive/template.mdwn (limited to 'ikiwiki/directive/template.mdwn') diff --git a/ikiwiki/directive/template.mdwn b/ikiwiki/directive/template.mdwn new file mode 100644 index 0000000..d538b69 --- /dev/null +++ b/ikiwiki/directive/template.mdwn @@ -0,0 +1,18 @@ +The `template` directive is supplied by the [[!iki plugins/template desc=template]] plugin. + +[[Templates]] are files that can be filled out and inserted into pages in the +wiki, by using the template directive. The directive has an `id` parameter +that identifies the template to use. The remaining parameters are used to +fill out the template. + +Example: + + \[[!template id=note text="""Here is the text to insert into my note."""]] + +This fills out the `note` template, filling in the `text` field with +the specified value, and inserts the result into the page. + +For a list of available templates, and details about how to create more, +see the [[templates]] page. + +[[!meta robots="noindex, follow"]] -- cgit v1.2.3