Template:Callout

From Bootstrap - Demo Wiki

Description

We use this template as a utility for content display. Adding some text to the Callout template to display it within a callout box is mandatory. Specifying the callout type is optional though "warning" will be assumed if nothing is specified. Other types are: "success", "error" and "info".

Parameters

  • 1
Sets the text to be shown within the template. This is a required parameter.
  • 2
Sets the callout type for the template. This is an optional parameter. It defaults to "warning". Other possible values are "info", "success", and "error".

Structure

{{Callout
 |1=Example text.
 |2=warning
}}

Examples

Warning

syntax
{{Callout
 |1=Example text.
 |2=warning
}}

or short

{{Callout
 |1=Example text.
}}
result
Example text.

Info

{{Callout
 |1=Example text.
 |2=info
}}
result
Example text.

Success

syntax
{{Callout
 |1=Example text.
 |2=success
}}
result
Example text.

Error

syntax
{{Callout
 |1=Example text.
 |2=error
}}
result
Example text.