DefineSnippet



The DefineSnippet scope function is allows you to define a variable from a block of wiki markup.


DefineSnippet (string [name)


  • Name: name [Required]
    • Type: string
    • Description: The name of the snippet variable to define.


{{ DefineSnippet(MyBlock)
This is the content of the snippet variable.
}}

##Snippet(MyBlock)
##Snippet(MyBlock)
##Snippet(MyBlock)



Function Calling Convention
Scope Function
Instruction Function
Standard Function
Snippet
Get
Set


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 :: Set
Set wiki page variable value.
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.