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
- Name - Displays the pages name.
- Namespace - Displays the namespace of the wiki page.
- NamespaceGlossary - Create a glossary from of pages in specified namespaces.
- NamespaceList - Create a list of pages from specified namespaces.
- Namespaces - Using and creating namespaces to logically group pages in the wiki.
- Navigation - Diaplys the URL friendly navigation name of a page.
- NoCache Instruction - Processing instruction indicating that the page should never be cached.
- Order - Orders the resulting lines of a block of wiki markup.
- ProfileGlossary - Displays a glossary of all active users with links to their public profiles.
- ProfileList - Displays a list of all active users with links to their public profiles.