History: Template Handler
Preview of version: 5
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 ]
YAML
Copy to clipboard
objects: - type: template ref: some_template data: name: Hello World page: Template Page sections: [ wiki page, forums ] - type: wiki_page data: name: Template Page content: wikicontent:some_page
Template Object
Field name | Mandatory | Value |
name | yes | Name of the template as displayed. |
content | Content of the template to be included by default | |
page | Page name to use as the template (Tiki6) | |
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 |
History
Information | Version | |||||
---|---|---|---|---|---|---|
Wed 14 of Jul, 2010 15:04 UTC Xavier de Pedro | 7 | |||||
Sun 13 of Jun, 2010 12:34 UTC luciash d' being 🧙 TikiWiki > Tiki | 6 | |||||
Wed 09 of Jun, 2010 15:18 UTC System Administrator | 5 | |||||
Wed 09 of Jun, 2010 15:17 UTC System Administrator | 4 | |||||
Thu 12 of Nov, 2009 17:52 UTC System Administrator | 3 | |||||
Tue 30 of Jun, 2009 02:41 UTC Marc Laporte | 2 | |||||
Mon 29 of Jun, 2009 12:45 UTC System Administrator | 1 |