Tags:
templates
|
|
|
|
|
|
Content Templates
Content templates are blocks of static HTML markup or wiki syntax and other text that can be applied as starting contents when creating such tiki objects as:- Wiki pages (HTML format or wiki format)
- Articles or submissions
- Newletters
The process is to simply edit the template and save it; you can preview the template if you want.
Important: If editing an HTML page template the wiki syntax is OFF and features such as wiki references and others are not parsed. For HTML pages, only HTML code and {ed id=name} or {ted id=name} are allowed and parsed when previewing.
Once a template is created, editors will be able to apply it when editing an object of the type that the template has been specified for. If a content template is applied to a wiki page that already has content, the content template will be pasted in at the beginning of the page but won't overwrite the existing content.
Note however that for a template to be usable by editors, you need to activate the template feature, and label the template for use in particular objects. For example, if you want the template to be usable inside the wiki, you would do the following:
- Admin > Wiki > Content template (check it)
- Admin menu (on the left) > Content Templates
- Locate the template you want to use in the wiki
- Click on the pen icon in that row (in the Action column)
- Beside Use in:, check the Wiki box.
- Save
The content template that is applied to any particular page is a copy of the original. Once applied, the content template becomes part of the page and can be edited as freely as the rest of the wiki page. If the content template original changes, the pages that use the old version of the template are not changed.
The template has to be chosen each time a new page is created, there is no way to pick a different default entry than "none" (but there is a request for enhancement
Contributors to this page: tobi_h
,
alain_desilets
,
chibaguy
,
TheDoc
,
sylvie
,
jmj
,
StarRider
and
system
.
Page last modified on Thursday 18 June, 2009 14:19:41 UTC by tobi_h
.
Sidebar
Featured links
To register
To have an account at this site, please register at Tikiwiki.org
, and then use that user name and password to log in here.
This site gets user information from Tikiwiki.org with the InterTiki feature.
This site gets user information from Tikiwiki.org with the InterTiki feature.
Folksonomy
Tags:
templates