ラベルのリストマクロ
ラベル リスト マクロには、現在のスペース内のすべてのラベルのリストが表示されます。リストの各ラベルには、そのラベルを含む現在のスペース内のすべてのページを表示するページへリンクします。
ラベル リスト マクロを使用する
ページにラベル リスト マクロを追加するには:
- From the editor toolbar, choose (Insert) > Other Macros
- 対象のマクロを見つけて、選択します。
Speed it up with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. In this example we're inserting the cheese macro.
既存のマクロを編集する方法: マクロのプレースホルダをクリックして、[編集] を選択します。これによりマクロの詳細を開き、マクロのパラメーターを編集できます。
パラメーター
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).
パラメーター名 | 必須 | 既定 | パラメーターの説明と指定可能な値 |
|---|---|---|---|
このスペース キーに制限 | いいえ | 現在のスペース | ラベルを表示したいスペースのキー。 |
除外したラベル(excludedLabels) | いいえ | 空白 | リストに表示したくないラベル。 |
Wiki マークアップの例
以下の例は、エディタ外部 (スペースのサイドバー、ヘッダー、フッターのカスタム コンテンツなど) でマクロを追加する場合に便利です。
マクロ名: listlabels
マクロ本文: なし。
{listlabels:spaceKey=DOC}

