Scope Function
Overview
Scope functions are like standard functions except for they apply to a defined scope of wiki text. This scope is defined by three opening curly-brackets and terminated by three closing curly-brackets.
{{ ThisIsTheFunction (These are function parameters)
This is a scope body
}}
Example
In this example, we are calling the Alert scope function:
{{Alert(Warning, Heading text)
This is the body of the scope.
}}
Functions
- A
- Alert - Alerts bring important information to the attention of the reader.
- B
- Background - Set the background color for a block of content.
- Bullets - Create hierarchical ordered or unordered lists.
- C
- Callout - Prominently display useful information in a fairly understated panel.
- Card - Cards are good for displaying every-day content and can have a title.
- Code - Display formatted, wiki-unprocessed and syntax-hilighted code.
- Collapse - Dynamically show or hide a section of the wiki body.
- D
- DefineSnippet - Sets a snippet variable to a block of wiki markup.
- F
- Foreground - Set the foreground color for a block of content.
- J
- Jumbotron - Large grey box good for calling attention in a non-critical way.
- O
- Order - Orders the resulting lines of a block of wiki markup.
- S
- StripedTable - The StripedTable scope function allows you to create tables with columns and alternating colored rows.
- T
- Table - The Table scope function allows you to create tables with rows and columns.
See Also
Function Calling Convention
Scope Function
Instruction Function
Standard Function
Related
- HideFooterComments Instruction - Processing instruction indicating that the should not display comments at the bottom regardless of the system settings.
- HR - Inserts a horizontal rule (divider) into the wiki bosy.
- Image - Display images in the wiki body.
- Include - Inserts the processed wiki body of one page into the calling page.
- Include Instruction - Processing instruction indicating the page is an include and not a while page.
- Inject - Inserts the un-processed wiki body of one page into the calling page.
- Jumbotron - Large grey box good for calling attention in a non-critical way.
- LastModified - Displays the modified date/time of the page.
- Links - Linking between wiki pages and external content.
- Literals - Literal blocks for displaying verbatim content.