抜粋のインクルードマクロは、とあるページから他のページへコンテンツを「抜粋」(一部分)して表示する際に使用します。

The paragraph below shows an example of an Excerpt Include macro, containing content from an excerpt which we have defined on the Excerpt Macro page. On the Excerpt Include macro below, we have set the options to show both the title of the page and the panel surrounding the content.

抜粋インクルードマクロを使用する

ページに抜粋インクルードマクロを追加するには

パラメーター

パラメーター

既定

説明

抜粋を含むページ
(default-parameter

なし

表示する抜粋を含むページ名を入力します。抜粋は、同じスペースまたは同じ Wiki の別のスペースにあるページから行います。

抜粋インクルードマクロ ダイアログにページ名を入力すると、他のスペースのページも含め、Confluence がマッチするページをリスト表示します。

あるいは、以下のようにスペースキーとページ名をコロン (:) でつなげて入力することも可能です。

SPACEKEY:Page name

このパラメーターは Wiki マークアップで名前が付けられていません。

周囲のパネルを削除
(nopanel)
 

false

Confluence で抜粋コンテンツの周囲にパネルを表示するか否か決定します。パネルは抜粋を含むページタイトルとパネルのボーダーを表示します。既定値では、パネルとタイトルが表示されます。

コー​​ドの例

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

マクロ名: excerpt-include

マクロ本文: なし。

保存形式の例

<ac:macro ac:name="excerpt-include">
  <ac:parameter ac:name="nopanel">true</ac:parameter>
  <ac:default-parameter>My page name</ac:default-parameter>
</ac:macro>

Wiki マークアップ例

{excerpt-include:My page name|nopanel=true}