Template:Callout

From Professional Starter
Revision as of 00:54, 16 June 2019 by Karsten (talk | contribs) (chg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

This template is a modern alternative to the "Note" template and it can easily be reused on wikis which have Semantic MediaWiki installed.

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.