Wikipublisher includes a wikilib.d/ directory containing Site templates for all the forms used to control the way pages are composed for print. These are installed automatically and do not affect either the wiki.d/ or PmWiki wikilib.d/ directories. The form templates define layout metadata used by the typesetting engine. They are used to:
There are 6 template pages:
An administrator may set up group print, publish, search or calendar templates. The settings in a group template over-ride those in the Site template. An administrator may also edit the site templates, for example to translate the field prompts and setting options into a language other than English.
The template syntax for a form element uses an extension of the definition list markup:
Do not change the variable name! Do not change the + or - at the end of the line!
When changing the language of radio button settings, the administrator must preserve the metadata value passed to the typesetting engine. For example, (left,centre,*right) becomes (left|gauche;centre;*right|droit). The order variable on the Calendar Template illustrates this capability.