Template:Callout: Difference between revisions

From Bose Portable PA Knowledge
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 72: Line 72:
<templatestyles src="Template:Callout/styles.css" />
<templatestyles src="Template:Callout/styles.css" />


<div class="callout callout-{{{type|title|note}}}">
<div class="callout callout-{{{type|note}}}">
   <span class="callout-label">
   <span class="callout-label">
     {{#switch: {{{type|note}}}
     {{#switch: {{{type|note}}}

Revision as of 15:49, 5 April 2026

Unified callout box with type-based styling (tip, note, warning, protip). Uses TemplateStyles.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Typetype

Callout type: tip, note, warning, protip

Default
note
Stringoptional
Titletitle

The content of the callout

Stringrequired
Texttext

The content of the callout

Stringrequired

Callout usage

Use this template to create a visually distinct callout box.

Valid types: tip, note, warning, protip.

Copy/paste/edit parameters


{{

Callout

| type = tip / note / warning / protip

| title = The title of your callout goes here.

| text = Your callout text goes here.

}}


The Callout will render as it appears below this line.



 
Note: The title of your callout goes here.

Your callout text goes here