Set
The Set standard function defines a wiki page variable and sets its value. This is useful when you want to control parts of the page from a single location in the markup.
##Set (string [key], string [value])
- Name: key [Required]
- Type: string
- Description: The name of the variable.
- Name: value [Required]
- Type: string
- Description: The Value of the variable.
##Set(MyVariable, Green)
##Get(MyVariable)
##Color(##Get(MyVariable), This is some text)You can also set and get variables by using short hand, which is actually preferred for cleanliness.
Set variable:
${variableName = value}
Get variable:
${variableName}
Get
Function Calling Convention
Scope Function
Instruction Function
Standard Function
Wiki Help :: Scope Function
Scope functions apply a function over a defined scope of wiki text.
Wiki Help :: SearchCloud
Create a cloud of pages from a search of wiki body contents.
Wiki Help :: SearchList
Create a list from a search of wiki body contents.
Wiki Help :: Seq
Automatically create a numbered sequence on a page.
Wiki Help :: Similar
Create a list of similar pages based on tag similarities.
Wiki Help :: SiteName
Displays the name of the configured site.
Wiki Help :: Snippet
Injects the value of a previously defined snippet variable.
Wiki Help :: Standard Function
Standard functions are general use functions used by contributors to build a page and make it dynamic.
Wiki Help :: StripedTable
The StripedTable scope function allows you to create tables with columns and alternating colored rows.
Wiki Help :: Table
The Table scope function allows you to create tables with rows and columns.