Alert
The Alert scope function allows you to create a basic panel that contains wiki formatted text. Creating an alert is accomplished by three opening curly brackets which denote the scope of the alert, then alert function call with the parameters that define the type of alert within parenthesis. Next would be the content of the alert which is then terminated with three closing curly brackets.
Unlike Card, a header is optional for alerts.
Alert (string {styleName}, string {titleText})
- Name: styleName {Optional}
- Type: string
- Default: default
- Values: default, primary, secondary, light, dark, success, info, warning, danger
- Description: The style of the alert.
- Name: titleText {Optional}
- Type: string
- Description: The header of the alert, this is displayed at the top of the alert as a large header text.
Standard alert:
This is the body content.
Standard alert code:
{{ Alert(Primary)
This is the body content.
}}
Alert with a header:
This is the header
This is the body content.Alert with a header code:
{{ Alert(Primary, This is the header)
This is the body content.
}}
Function Calling Convention
Scope Function
Instruction Function
Standard Function
Wiki Help :: Color
Set the color of a portion of text.
Wiki Help :: Created
Displays the created date/time of the page.
Wiki Help :: DefineSnippet
Sets a snippet variable to a block of wiki markup.
Wiki Help :: Deprecate Instruction
Processing instruction indicating the page needs to be deleted.
Wiki Help :: Description (Standard Function)
Displays the description of the wiki page.
Wiki Help :: DotNetVersion
Displays the .NET version that the wiki is running on.
Wiki Help :: Draft Instruction
Processing instruction indicating the page is in draft - is incomplete.
Wiki Help :: EditLink
Insert a link to quickly edit the page.
Wiki Help :: Figure
Displays a piece of content along with an optional caption, especially useful for images.
Wiki Help :: File
Insert file download links into the wiki body.