WIT has a series of "meta tags" called "WIT variables" : their value is defined by WIT when it builds the pages.
These variables give an effortless enhancement to the document, and can be placed anywhere in :
- the text area,
- the idea title,
- the page header,
- the page footer,
- the left and right panels,
- the custom fields,
- the image titles,
- the document titles,
- the URL titles.
The most efficient places for WIT variables are the page header and footer.
WIT variables are inserted as pseudo XML tags, with the <@variable/> syntax.
Here is the list of WIT 'variable' meanings (an additional space had to be added here after the '@' to prevent WIT from interpreting the tag, otherwise you would get : (bullet), (next idea link), 10:29:32 (time) etc...).
<@ date/> : page generation date.
<@ day/> : page generation day.
<@ month/> : page generation month.
<@ year/> : page generation year.
<@ time/> : page generation time.
<@ page/> : page file generated name (useful when placed in page header and used as a literal parameter in a PHP script).
<@ pageNum/> : sequence number of current page in the document,
<@ pages/> : total number of pages in the document,
<@ subIdeas/> : total number of sub ideas of current idea (useful, for instance, to give the number of articles in a site section),
<@ copyright/> : meta tag "copyright" information (professional license).
<@ author/> : meta tag "author" information (professional license),
<@ /> : bullet used in text :
<@ prevIdea/> : link to previous idea, shown as an arrow or as text according to current structure template options ("Navigation" tab), like this :
<@ nextIdea/> :link to next idea, shown as an arrow or as text according to current structure template options ("Navigation" tab), like this :
<@ parentIdea/> : link to parent idea, shown as an arrow or as text according to current structure template options ("Navigation" tab), like this : .
The second WIT variables list below is available with WIT professional ; you can insert structural elements of current idea, with a better and more powerful manner, like here in this manual.
These elements are still controlled by the current structure and style templates :
<@ navbar/> : the full navigation bar,
<@ text/> : current idea text content,
<@ title/> : current idea title,
<@ titleRaw/> : current idea title (text only, without presentation and style options),
<@ keywords/> : current idea keywords,
<@ children/> : current idea child links,
<@ externalLinks/> : current idea external URLs,
<@ hierarchicalPosition/> : current idea hierarchical position in the document,
<@ internalDocs/> : current idea list of associated ideas,
<@ internalRefs/> : current idea list of associated documents,
<@ bibliography/> : current idea list of books,
<@ imageList/> : current idea list of images,
<@ customFields/> : current idea list of custom fields values.
<@ customField1/> to <@ customField32/> : the value of the custom field 1 to 32 (with its presentation and style options)
<@ customField1Raw/> to <@ customField32Raw/> : the raw value of the custom field 1 to 32 (with no specific style)
<@ cfWidgetToc1/> to <@ cfWidgetToc32/> : a block widget presenting a synthetic table of each field values.
<@ startDate/> : start date of task,
<@ dueDate/> : due date of task,
<@ endDate/> : end date of task,
<@ estimatedTime/> : estimated time to perform a task,
<@ spentTime/> : effective time spent to perform a task,
<@ percentComplete/> : task completion percentage,
<@ status/> : task status,
<@ category/> : task category ,
<@ riskPriority/> : risk or priority associated to a task,
<@ assignedTo/> : person to whom a task is assigned,
<@ createdBy/> : task creator,
<@ description/> : META description field,
<@ scriptProlog/> : script prologue field,
<@ scriptEpilog/> : script epilogue field,
<@ creationDate/> : idea creation date,
<@ revisionDate/> : idea revision date,
<@ revision/> : idea revision number.