2008-09-11 23:04:23 +02:00
|
|
|
The `template` directive is supplied by the [[!iki plugins/template]] plugin.
|
|
|
|
|
2008-09-12 00:23:32 +02:00
|
|
|
[[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.
|
2008-09-11 23:04:23 +02:00
|
|
|
|
2008-09-12 00:23:32 +02:00
|
|
|
Example:
|
2008-09-11 23:04:23 +02:00
|
|
|
|
|
|
|
\[[!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.
|
|
|
|
|
2008-09-12 00:23:32 +02:00
|
|
|
For a list of available templates, and details about how to create more,
|
|
|
|
see the [[templates]] page.
|
2008-09-12 00:30:20 +02:00
|
|
|
|
|
|
|
[[!meta robots="noindex, follow"]]
|