Alerts
Add alerts to your page using the following syntax:
<alert type | title>...</alert>
where type
indicates the type of the alert (info, warning, danger, success)
and title
an optional title.
Examples
%%<alert>Info</alert>%%
Info
%%<alert info>Info</alert>%%
Info
%%<alert info | Tip>Info alert with title</alert>%%
Tip
Info alert with title
%%<alert warning>Warning</alert>%%
Warning
%%<alert warning|Careful>Warning</alert>%%
Careful
Warning
<alert danger>Danger</alert>
Danger
%%<alert danger|You have been warned>Danger</alert>%%
You have been warned
Danger
%%<alert success>Success</alert>%%
Success
%%<alert success|Well done!>Success</alert>%%
Well done!
Success
Alternative syntax
Polifonic also supports the following alternative syntax.
%%<note%% type | title>..%%</note>%%
The following alternative syntax is only provided for backward compatibility with Dokuwiki wikis. We recommend that for any new page, you use the new syntax.
%%<note>Info (default)</note>%%
<note>Info (default)</note>
%%<note info>Info</note>%%
<note info>Info</note>
%%<note tip>This is a tip</note>%%
<note tip>This is a tip</note>
%%<note tip |Tip>This is a tip</note>%%
<note tip |Tip>This is a tip</note>
%%<note important>Important</note>%%
<note important>Important</note>
%%<note warning>Warning</note>%%
<note warning>Warning</note>