Confluence is getting a fresh new look and navigation

We’re in the process of rolling out these changes and the documentation may not match your experience. Bear with us while we update it to reflect the new changes. More about navigating the new Confluence

Insert the content tree macro

The content tree macro displays a dynamic, hierarchical list of content starting from a specified parent (root) item. It can act as a table of contents or a list of related topics. When viewing the content tree, your reader can click a link to view any individual piece of content. The content’s current position is highlighted in the content tree.

Use the content tree macro

To add the content tree macro:

  1. When editing, select from the toolbar

  2. マクロを名前で検索して選択します。

  3. 必要に応じて設定します。

このページに「/」と入力して、ツールバーから を選択することで、同じリストを表示することもできます。続けてマクロの名前を入力して、リストをフィルタリングします。

To edit the content tree macro:

  1. マクロのプレースホルダーを選択します。

  2. [編集] アイコン を選択して、設定パネルを開きます。

  3. パラメーターを設定します。変更内容は、移動するごとに保存されます。

  4. ページの編集を再開すると、パネルが閉じます。

中央揃え 、幅 、全幅 の各アイコンを使用して、一部のマクロの幅を調整することもできます。マクロを削除するには、ゴミ箱アイコン を選択します。

パラメーター

Parameters are options that you can set to control what and how content from the macro appears on a page or live doc. 

Confluence Cloud 保存形式で使用されるパラメーター名が、ブラウザやスラッシュ コマンドを使用してマクロを挿入する際に使用されるラベルと異なる場合は、下記の角括弧内に記載されます (example)。

パラメーター

既定

説明

Root content
(root

The overview page of the space

Specify the parent item for the content tree. The tree will include all nested children of the given parent item, plus their own nested items. The tree will not include the root parent itself.

Specify the title or a special value as follows:

  • Your content title — to specify a page or live doc name for the parent or root of the tree. The tree will include all children and grand-children of the specified root. The tree will not include the specified root item itself.

  • '@home' — will include all content under the overview page of the space (default).

  • '@self' — will include all pages and live doc nested under the current page or doc.

  • '@parent' — will include all pages and live docs under the parent of the current page or doc, and that current page or doc.

  • '@none' — will include all pages and live docs in the space, including orphaned items and the overview page.

Sort content by
(sort

職位

Specify the order to display the content in the tree. This sort order is for display purposes only. It does not permanently re-arrange the order of tree content. The value may be one of the following:

  • bitwise – アルファベット順に並べ替えます。例: title1、title10、title2。

  • 作成 — コンテンツの作成日順で並べ替えます。

  • modified — 最近変更された順に並べ替えます。

  • natural – 「自然数」のアルファベット順に並べ替えます。例: title1、title2、title10。

  • position — sort by the default Confluence sorting rules. If your content has been ordered manually, this sort will respect the defined order. Otherwise the content will be displayed in the 'natural' alphabetical order, such as: title1, title2, title10.

Include excerpts in content tree
(excerpt

false

Select if you want the content tree to show excerpts from each content item. The excerpts must be defined on each item by the Excerpt macro.

Reverse order
(reverse

false

Select to show the content in reverse (descending) natural order. Must be used in combination with the Sort content by parameter.

Include search box above content tree
(searchBox

false

Select if you want to include a search box above the content tree. The search box allows your readers to search within the content tree for the specified value.

Show expand/collapse links
(expandCollapseAll

false

Select if you want to display the 'expand all' and 'collapse all' links at the top of your content tree. Your readers can click these links to open or close all branches of the tree at once.

wikimarkup とストレージ形式で利用可能な値:

  • true – "すべて展開" および "すべて折りたたみ" オプションを表示する。

  • false – オプションを表示しない。

Tree depth
(startDepth

1

最初に開いたときに、ツリーに表示する子の数を設定するには、0 より大きい数を入力します。

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。