NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scrollbar
iconsfalse

...

Creating a caution, warning, tip or info box

...

You can create a graphically formatted caution, warning, or info box. These can be in the first or second column or across a whole page that has no columns. The following examples show the markup and the resulting display.

Code Block
titleNote Markup

...


{note:title=Be Careful}The body of the note

...

.{note}

Resulting display:This is displayed as follows.

Note
titleBe Careful

The body of the note here...

...

.

Code Block
titleWarning Markup

{warning:title=Warning}

...

The warning message

...

.{warning}

...



This is displayed as follows.

{warning:title=Warning}The warning message.{warning}

title=Info Markup}

Info
titleUseful Information

The useful information.

This is displayed as follows.

Resulting display:

Warning
titleWarning

Insert warning message here!

Markup:
{info:title=Useful Information}
This macro is useful for including helpful information in your wiki pages.
{info}

Resulting display:

Info
titleUseful Information

This macro is useful for including helpful information in your wiki pages.

...

The useful information.

Code Block
titleTip Markup

{tip:title=Helpful Hint}This macro is useful for including a tip in your wiki pagesThe tip. {

Tip

...

This is displayed as follows.

Tip
titleHelpful Hint

This macro is useful for including a tip in your wiki pagesThe tip.

Scrollbar
iconsfalse