You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Basic Macros

This plugin includes basic macros for linking and formatting content.

This plugin includes the following macros:
  • anchor - Create an anchor that allows people to link to a specific point in a page.
  • quote - Generate blockquotes that may contain multiple paragraphs or complex markup.
  • noformat - Create blocks of text where other wiki formatting is not applied.
  • panel - Draws a panel with an optional title and border.
  • color - Change the colour of the contained text.
  • loremipsum - Insert paragraphs of "lorem ipsum" space-filler text.
  • nolink and - Suppress rendering of a CamelCase link.

The Code :

What you will get :

Parameters

Generate blockquotes that may contain multiple paragraphs or complex markup.

The Code :

{quote}
Some quoted content}
{quote}

What you will get :

Some 'unqouted' content

Some quoted content

Some more 'unqouted' content.

The Noformat Macro displays a block of text in monospace font with no other formatting.

The Code :

{noformat}
Some non-formatted text.
{noformat}

What you will get :

Some formatted text.

Some non-formatted text.

Some more formatted text.

Parameters

Name

Required?

Default

Description

nopanel

false

Removes the bordering panel.

Draws a panel with an optional title and border.

The code:

Default Panel:

{panel}
Some content.
{panel}

Panel with a ridged border:

{panel:borderStyle=ridged|borderColor=red}
Some content.
{panel}

Panel with a title:

{panel:title=My Panel}
Some content.
{panel}

Panel with custom colored background and title:

{panel:bgColor=#FFCCFF|title=My Title|titleBGColor=yellow }
Some content.
{panel}

What you will get:

Default Panel:

Some content.

Panel with a ridged border:

{panel:borderStyle=ridged|borderColor=red}
Some content.
{panel}

Panel with a title:

My Panel

Some content.

Panel with custom colored background and title:

My Title

Some content.

Parameters

Name

Required?

Default

Description

title

none

The code:

What you will get:

Parameters

The code:

What you will get:

Parameters

The code:

What you will get:

Parameters

deck: com.atlassian.confluence.macro.MacroExecutionException: java.lang.NullPointerException
Unknown macro: {roundrect}
  • No labels