Jump to content

Template:Callout: Difference between revisions

From Bose Portable PA Knowledge
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 58: Line 58:
     <span class="callout-icon">
     <span class="callout-icon">
       {{#switch: {{{type|note}}}
       {{#switch: {{{type|note}}}
         | tip = 💡Important Tip {{{title|Your title goes here}}}
         | tip = 💡Important&nbsp;Tip {{{title|Your title goes here}}}
         | warning = ⚠️ Warning {{{title|Your title goes here}}}
         | warning = ⚠️ Warning {{{title|Your title goes here}}}
         | protip = ⭐ Pro Tip {{{title|Your title goes here}}}
         | protip = ⭐ Pro&nbsp;Tip {{{title|Your title goes here}}}
         | note = 📝 Note {{{title|Your title goes here}}}
         | note = 📝 Note {{{title|Your title goes here}}}
         | #default = 📝 Note {{{title|Your title goes here}}}
         | #default = 📝 Note {{{title|Your title goes here}}}

Latest revision as of 16:47, 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

Optional title for the callout

Stringoptional
Texttext

Main content of the callout

Stringrequired

Callout usage

Use this template to create a visually distinct callout box. Valid types: tip, note, warning, protip.


{{ Callout

| type = tip / note / warning / protip

| title = Your Title goes here

| text = Your callout text goes here.

}}


The Callout will render as it appears below this line.



   
     📝 Note Your title goes here
   
   

Your text goes here