Polifonic Documentation
  • Sign in
  • Sign up
  • Contents
    • Examples
    • Alternative syntax
  • en
    • en - English

Syntax

Syntax

  • Typography
  • Links
  • Lists
  • Files (media)
  • No formatting
  • Alerts
  • Boxes (Panels)
  • Special characters
  • Emojis
  • Labels
  • FontAwesome icons
  • Acronyms
  • Code
  • Console output
  • Graphs
  • Math formulas
  • Page index
  • Collapsible elements
  • Footnotes
  • Common attributes

Contents

Contents

  • Home page
  • Wiki 101
  • Creating content
  • Syntax reference
  • Managing your wiki

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>

This page was modified on 5 Nov 2015 at 2:00 PM.

Source

====== Alerts ====== Add alerts to your page using the following syntax: <box>''<alert //type// | //title//>...</alert>''</box> where ''//type//'' indicates the type of the alert (info, warning, danger, success) and ''//title//'' an optional title. ===== Examples ===== ''%%<alert>Info</alert>%%'' <alert>Info</alert> ''%%<alert info>Info</alert>%%'' <alert info>Info</alert> ''%%<alert info | Tip>Info alert with title</alert>%%'' <alert info | Tip>Info alert with title</alert> ''%%<alert warning>Warning</alert>%%'' <alert warning>Warning</alert> ''%%<alert warning|Careful>Warning</alert>%%'' <alert warning|Careful>Warning</alert> %%<alert danger>Danger</alert>%% <alert danger>Danger</alert> ''%%<alert danger|You have been warned>Danger</alert>%%'' <alert danger|You have been warned>Danger</alert> ''%%<alert success>Success</alert>%%'' <alert success>Success</alert> ''%%<alert success|Well done!>Success</alert>%%'' <alert success|Well done!>Success</alert> ===== Alternative syntax ===== Polifonic also supports the following alternative syntax. ''%%<note%% //type// | //title//>..%%</note>%%'' <alert danger>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.</alert> ''%%<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>
This website uses cookies to ensure you get the best browsing experience.