The Note macro displays a block of text in a yellow highlighted box. This is useful for emphasising important information.

例:

My note

This is the content of my note.

Using the Note Macro

To add the Note macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

オートコンプリートでマクロを素早く入力する方法

Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete.

既存のマクロを編集する方法: マクロのプレースホルダをクリックして、[編集] を選択します。マクロのパラメータが編集可能な場合、マクロのダイアログ ウィンドウが開きます。

Add the text of the note to the body of the macro placeholder.

パラメーター

Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

パラメーター

既定

説明

オプション タイトル
(title

なし

If specified, the title is displayed in bold next to the icon.

Show Exclamation Mark Icon
(icon

true

    • true – displays the warning icon
    • false – the icon is not displayed

コー​​ドの例

次の例は、Confluence ページの基本的なマークアップを調べたり、編集したりする上級ユーザー向けに提供されています。 

マクロ名: note

マクロ本文: リッチ テキストの利用可

保存形式の例

<ac:structured-macro ac:name="note">
  <ac:parameter ac:name="icon">false</ac:parameter>
  <ac:parameter ac:name="title">My title</ac:parameter>
  <ac:rich-text-body>
    <p>This is the content of my note.</p>
  </ac:rich-text-body>
</ac:structured-macro>

Wiki マークアップの例

{note:icon=false|title=My title}
This is the content of my note.
{note}

 

 

  • ラベルなし