Template:PrismBanner
A coloured callout box for notes, tips and warnings. Colours follow the wiki's light/dark theme automatically.
Usage
{{Banner|This is an informational note.}}
{{Banner|type=success|title=Saved|Your changes have been published.}}
{{Banner|type=warning|title=Heads up|This page describes a beta feature.}}
{{Banner|type=danger|title=Do not do this|It will delete your data.}}
{{Banner|icon=lightbulb|title=Tip|Use <code>1=</code> if your text contains an equals sign.}}
{{Banner|icon=none|No icon on this one.}}
This is an informational note.
Saved
Your changes have been published.
Heads up
This page describes a beta feature.
Do not do this
It will delete your data.
Tip
Use 1= if your text contains an equals sign.
No icon on this one.
Parameters
| Parameter | Default | Description |
|---|---|---|
1 / content |
— | Body text. May contain wikitext, including lists and paragraphs. If the text contains =, use 1= or content=.
|
type |
info |
info, success, warning, danger (or error).
|
title |
— | Optional bold heading line. |
icon |
per type | Any name from Template:Icon, or none to hide the icon.
|