Template:Callout
Callout Template
Creates an accessible callout box for notes, tips, warnings, important messages, and success messages.
Preferred Usage
Use the first unnamed parameter for the body content:
{{Callout
| type=tip
|
You’ll know you’ve successfully logged into Drupal when you see '''My Sites''' and your name in the black menu bar.
{{Screenshot
| DrupalMySites.png
| 500px
| Screenshot showing the My Sites menu
| The Drupal toolbar after a successful login.
}}
}}
Usage with Custom Title
{{Callout
| type=important
| title=Before you continue
|
Never unpublish your homepage.
}}
Supported Types
tipnoteimportantwarningsuccess
Parameters
- type — optional. Defaults to
tip. - title — optional. Overrides the default title.
- unnamed body content — required. May include text, links, lists, images, tables, and other templates.
Legacy Usage
The template also supports content=, but unnamed body content is preferred:
{{Callout
| type=note
| content=Profile data comes from both Drupal and MySwarthmore.
}}