This page is a snippet

For full information, see:

snippet

 

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

<ac: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:macro>

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

説明

Markup表示結果

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

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

 これは重要な情報です。

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

<ac: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:macro>

This is my title

 これは重要な情報です。

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

<ac: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:macro>

This is my title

 これは重要な情報です。

  • ラベルなし