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.
}}
Output:
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 disply useful information in a failty 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.
- 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 - Scope Function - Order lines in either ascending or descending order.
- 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
- Alert - Alerts bring important information to the attention of the reader.
- AppVersion - Displays the wiki engine version.
- Attachments - Lists the attached files associated with a page.
- Background - Set the background color for a block of content.
- BR - Inserts one or more line-breaks into the wiki body.
- Bullets - Create hierarchical ordered or unordered lists.
- Callout - Prominently disply useful information in a failty 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.