History: Template Handler
Preview of version: 3
This handler allows to create content templates for various object types in TikiWiki
Sample
YAML
Copy to clipboard
objects: - type: template ref: some_template data: name: Hello World content: wikicontent:SomeTemplateContent sections: [ wiki page, forums ]
Template Object
Field name | Mandatory | Value |
name | yes | Name of the template as displayed. |
content | yes | Content of the template to be included by default |
sections | List of tikiwiki sections for which the template is available. Default value only applies to wiki pages | |
type | static or page, allows to switch to using wiki pages as content templates. When using page, content must contain page:PageName |