Jump to content

Template:Callout

From translatewiki.net

Usage

{{Callout|Some text|callout type}}

To add some text to the Callout template is mandatory. Specifying the callout type is optional though "warning" will be assumed if nothing was specified. Other types are: "success", "error" and "info".

Examples

Default

syntax

{{Callout|Example text.}}

result
Example text.

Warning

syntax

{{Callout|Example text.|warning}}

result
Example text.

Info

syntax

{{Callout|Example text.|info}}

result
Example text.

Success

syntax

{{Callout|Example text.|success}}

result
Example text.

Error

syntax

{{Callout|Example text.|error}}

result
Example text.