Notice
The notice shortcode shows four types of disclaimers to help you structure your page.
Usage
{{% notice ( note | info | tip | warning ) [ <string> [ <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”.
The third parameter is optional. If provided, it will set the icon of near the title. For the standard types of notices, this is automatically determined but can be overridden with this parameter. If you want no icon at all, you have to set this parameter to " "
(a non empty string filled with spaces).
Examples
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
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
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
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 default color, custom title and icon
You can customize the title of the notice by passing it as a second parameter.
The title is now the parameter that was provided.