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
- 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 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.