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:
When editing, select from the toolbar
マクロを名前で検索して選択します。
必要に応じて設定します。
このページに「/」と入力して、ツールバーから を選択することで、同じリストを表示することもできます。続けてマクロの名前を入力して、リストをフィルタリングします。
To edit the content tree macro:
マクロのプレースホルダーを選択します。
[編集] アイコン を選択して、設定パネルを開きます。
パラメーターを設定します。変更内容は、移動するごとに保存されます。
ページの編集を再開すると、パネルが閉じます。
中央揃え 、幅 、全幅 の各アイコンを使用して、一部のマクロの幅を調整することもできます。マクロを削除するには、ゴミ箱アイコン を選択します。
パラメーター
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 | 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.
|
Sort content by | 職位 | 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:
|
Include excerpts in content tree | 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 | 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 | 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 | 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 とストレージ形式で利用可能な値:
|
Tree depth | 1 | 最初に開いたときに、ツリーに表示する子の数を設定するには、0 より大きい数を入力します。 |
この内容はお役に立ちましたか?