The Info macro allows you to highlight helpful information on a Confluence page. It creates a blue-coloured box surrounding your text, as shown below.

テキストが情報マクロの中に表示されます。

Using the Info Macro

To add the Info macro to a page:

パラメーター

パラメーター

既定

説明

オプション タイトル
(title

なし

The title of the information box. If specified, the title text will be displayed in bold next to the icon.

Show Information Icon
(icon

true

「false」の場合、アイコンが非表示になります。

コー​​ドの例

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

マクロ名: info

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

保存形式の例

以下の例ではすべてのパラメータと本文を表示しています。

<ac:structured-macro ac:name="info">
  <ac:parameter ac:name="icon">false</ac:parameter>
  <ac:parameter ac:name="title">This is my title</ac:parameter>
  <ac:rich-text-body>
    <p>
      <span>This is </span> <em>important</em> <span> information.</span>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

下記の例はさまざまなオプションのパラメーターを使用した情報マクロの例です。

説明

Markup表示結果

定義済み本文ありおよびオプション パラメーターなしの情報マクロ

<ac:structured-macro ac:name="info">
  <ac:rich-text-body>
    <p>This is <em>important</em> information.</p>
  </ac:rich-text-body>
</ac:structured-macro>

 これは重要な情報です。

定義済みの本文およびオプションタイトルパラメーターありの情報マクロ

<ac:structured-macro ac:name="info">
  <ac:parameter ac:name="title">This is my title</ac:parameter>
  <ac:rich-text-body>
    <p>This is <em>important</em> information.</p>
  </ac:rich-text-body>
</ac:structured-macro>

 これは重要な情報です。

定義済みの本文とオプションタイトルおよびアイコンパラメーターありの情報マクロ

<ac:structured-macro ac:name="info">
  <ac:parameter ac:name="icon">false</ac:parameter>
  <ac:parameter ac:name="title">This is my title</ac:parameter>
  <ac:rich-text-body>
    <p>
      <span>This is </span> <em>important</em> <span> information.</span>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

 これは重要な情報です。

Wiki マークアップの例

{info:title=This is my title|icon=false}
This is _important_ information.
{info}