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
- Color - Set the color of a portion of text.
- Created - Displays the created date/time of the page.
- DefineSnippet - Sets a snippet variable to a block of wiki markup.
- Deprecate Instruction - Processing instruction indicating the page needs to be deleted.
- Draft Instruction - Processing instruction indicating the page is in draft - is incomplete.
- EditLink - Insert a link to quickly edit the page.
- File - Insert file download links into the wiki body.
- Foreground - Set the foreground color for a block of content.
- Function Calling Convention - Outlines the syntax and formatting for calling wiki functions.
- Get - Get wiki page variable value.