SourceForge.net Logo
May 29, 2006
© GPL
 
ProWikiCenter
Insert Command
 
Difference (last change) (Author, normal page display)

Changed: 7c7
;<n>{Insert:function.name}</n>:: executes the TemplateFunction and inserts the result.
;<n>{Insert:function.functionname}</n>:: executes the TemplateFunction functionname and inserts the result.

InsertCommands have the form "{Insert:something}" and are placed in the TemplateText. They are worked on by the TemplateProcess to insert dynamic parts of the wiki page.

{Insert:variablename;default}:
inserts either the content of the variable or the default value.
{Insert:page.pagename}:
inserts the content of the WikiPage, properly rendered.
{Insert:program.scriptname}:
calls the script - which must be located in ExecutablesDir to be callable - and returns the resulting output of the script.
{Insert:wiki.text}:
renders the text in the wiki way and inserts it.
{Insert:function.functionname}:
executes the TemplateFunction functionname and inserts the result.
{Insert:vida.variablename}:
searches a VirtualData variable of the current page and inserts its content.

See also:
FolderTemplate