Notice
The notice shortcode shows four types of disclaimers to help you structure your page.
Usage
{{% notice ( note | info | tip | warning ) [ <string> ] %}}
Some markup
{{% /notice %}}
The first parameter is required and indicates the type of notice.
The second parameter is optional. If provided, it will be used as the title of the notice. If not provided, then the type of notice will be used as the title. For example, the title of a warning notice will be “Warning”.
Examples
Note
Note
A notice disclaimer
You can add:
- multiple paragraphs
- bullet point lists
- emphasized, bold and even bold emphasized text
- links
- other shortcodes besides
notice
- etc.
...and even source code
the possiblities are endless
Info
Info
An information disclaimer
You can add:
- multiple paragraphs
- bullet point lists
- emphasized, bold and even bold emphasized text
- links
- other shortcodes besides
notice
- etc.
...and even source code
the possiblities are endless
Tip
Tip
A tip disclaimer
You can add:
- multiple paragraphs
- bullet point lists
- emphasized, bold and even bold emphasized text
- links
- other shortcodes besides
notice
- etc.
...and even source code
the possiblities are endless
Warning
Warning
A warning disclaimer
You can add:
- multiple paragraphs
- bullet point lists
- emphasized, bold and even bold emphasized text
- links
- other shortcodes besides
notice
- etc.
...and even source code
the possiblities are endless
Notice with Custom Title
You can customize the title of the notice by passing it as a second parameter.
Pay Attention to this Note!
The title is now the parameter that was provided.