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.
テキストが情報マクロの中に表示されます。 |
To add the Info macro to a page:
パラメーター | 既定 | 説明 |
|---|---|---|
オプション タイトル | なし | The title of the information box. If specified, the title text will be displayed in bold next to the icon. |
Show Information 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 | 表示結果 | ||
|---|---|---|---|---|
定義済み本文ありおよびオプション パラメーターなしの情報マクロ |
|
| ||
定義済みの本文およびオプションタイトルパラメーターありの情報マクロ |
|
| ||
定義済みの本文とオプションタイトルおよびアイコンパラメーターありの情報マクロ |
|
|
{info:title=This is my title|icon=false}
This is _important_ information.
{info} |