alert
Jump to Section
The alert
shortcode allow you to highlight information in your page. They create a colored box surrounding your text, like this:
This is an alert !
Usage
Parameter | Default | Description |
---|---|---|
theme | info |
primary ,success , info ,warning ,danger ,dark ,light ,secondary |
Tips : setting only the theme as argument works too :
{{%alert warning%}}
instead of {{%alert theme="warning"%}}
Basic examples
{{% alert primary %}}**this** is a primary{{% /alert %}}
{{% alert theme="info" %}}**this** is a text{{% /alert %}}
{{% alert theme="success" %}}**Yeahhh !** is a text{{% /alert %}}
{{% alert theme="warning" %}}**Be carefull** is a text{{% /alert %}}
{{% alert danger %}}**Beware !** is a text{{% /alert %}}
{{% alert dark %}}**Dark !** is a dark{{% /alert %}}
{{% alert light %}}**oooh !** is a light{{% /alert %}}
{{% alert secondary %}}**Wait !** is a secondary{{% /alert %}}
this is an primary
this is an info
Yeahhh ! is a success
Be carefull is a warning
Beware ! is a danger
Dark ! is a dark
oooh ! is a light
Wait ! is a secondary