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 :: File
Insert file download links into the wiki body.
Wiki Help :: Foreground
Set the foreground color for a block of content.
Wiki Help :: Function Calling Convention
Outlines the syntax and formatting for calling wiki functions.
Wiki Help :: Get
Get wiki page variable value.
Wiki Help :: HideFooterComments Instruction
Indicates that comments should not display comments at the bottom regardless of the system settings.
Wiki Help :: HR
Inserts a horizontal rule (divider) into the wiki bosy.
Wiki Help :: Image
Display images in the wiki body.
Wiki Help :: Include
Inserts the processed wiki body of one page into the calling page.
Wiki Help :: Include Instruction
Processing instruction indicating the page is an include and not a while page.
Wiki Help :: Inject
Inserts the un-processed wiki body of one page into the calling page.