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 :: Navigation
Diaplys the URL friendly navigation name of a page.
Wiki Help :: NoCache Instruction
Processing instruction indicating that the page should never be cached.
Wiki Help :: Order
Orders the resulting lines of a block of wiki markup.
Wiki Help :: ProfileGlossary
Displays a glossary of all active users with links to their public profiles.
Wiki Help :: ProfileList
Displays a list of all active users with links to their public profiles.
Wiki Help :: Protect Instruction
Processing instruction indicating the page is protected from modification and deletion.
Wiki Help :: RecentlyModified
Display a list of recently modified wiki pages.
Wiki Help :: Related
Create a list of related pages based on incoming links.
Wiki Help :: Review Instruction
Processing instruction indicating the page needs to be reviewed.
Wiki Help :: Revisions
Displays the revision history of a page.