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 :: Alert
Alerts bring important information to the attention of the reader.
Wiki Help :: AppVersion
Displays the wiki engine version.
Wiki Help :: Attachments
Lists the attached files associated with a page.
Wiki Help :: Background
Set the background color for a block of content.
Wiki Help :: Blockquote
Blockquotes are good for quoting blocks of content from another source within your document.
Wiki Help :: BR
Inserts one or more line-breaks into the wiki body.
Wiki Help :: Bullets
Create hierarchical ordered or unordered lists.
Wiki Help :: Callout
Prominently display useful information in a fairly understated panel.
Wiki Help :: Card
Cards are good for displaying every-day content and can have a title.
Wiki Help :: Code
Display formatted, wiki-unprocessed and syntax-hilighted code.