子ページ表示マクロを使用して、ページの子ページ、さらに下位ページ(子ページの子ページ)を一覧にします。下のスクリーンショットに示すように、このマクロは既定で子ページへのリンクを表示します。表示する権限を持つページへのリンクのみ表示されます。

スクリーンショット:Confluence の子ページ表示マクロ


 

子ページ表示マクロを使用する

子ページ表示マクロを追加する方法

  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.

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

子ページのリストは子ページ表示マクロで生成されます:

パラメーター

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).

パラメーター

既定

説明

Show Descendants

false

すべての子孫ページを表示するか選択します。

  • If true shows the complete tree of pages underneath the parent page, regardless of Depth of Descendants

Parent Page

current

子ページを表示するページを、現在のスペースか他のスペースか指定します以下を入力します:

  • '/' — 現在のスペースのトップレベルのページ (親ページを持たないページ) を一覧表示します。
  • 'pagename' — 指定されたページの子ページを一覧表示。
  • 'spacekey:' — 指定されたスペースのトップレベルのページを一覧表示。
  • 'spacekey:pagename' — 指定されたスペースの指定されたページの子ページを一覧表示。

Number of Children

なし

トップレベル ページに表示される子ページの数を制限する。

Depth of Descendants

なし

Enter a number to specify the depth of descendants to display. This setting has no effect of Show Descendants is enabled.

Heading Style

なし

子孫ページの表示に使用するスタイルを選択します。

Include Excerpts

false

Display excerpts for the child pages, if they exist.

Sort Children By

マニュアルで並べ替えた順、またはアルファベット順

オプション。以下から選択してください:

  • 作成 — コンテンツの作成日順で並べ替え
  • タイトル — タイトルのアルファベット順で並べ替え
  • 変更 — 最終変更日で並べ替え

Reverse Sort

false

子ページの並べ替えパラメーターを使用します。設定すると、昇順から降順に変更されます。

コー​​ドの例

参照先:

  • ラベルなし