The Spaces List macro displays a list of spaces, similar to the list of spaces seen on the dashboard.

スペースの一覧マクロを使用する

ページにスペース リスト マクロを追加するには:

  1. Confluence のエディタで、[挿入] > [その他のマクロ] を選択します。
  2. 対象のマクロを見つけて、選択します。

オートコンプリートでマクロエントリを高速化: タイプ{とマクロ名の先頭には、提案したマクロの一覧を表示します。詳細は、こちらを参照ください。リンク、ファイル、マクロ、メンションのオートコンプリート

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

パラメーター

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

パラメーター

必須かどうか

既定

説明

スペースの範囲

いいえ

すべて

スペースがリストされるビュー。利用可能な設定は以下のとおりです。

  • all – All spaces in the Confluence installation.
  • category – スペースのカテゴリに従ってグループ化されたスペース。
  • favourite – Spaces which you have added to your favourites list.
  • new – New spaces which have been created within the last 7 days.

This parameter is unnamed in wikimarkup and storage format.

リストの幅
(width

いいえ

100%

スペースリストの幅を、ウィンドウ幅のパーセンテージ %) で指定します。

コー​​ドの例

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

マクロ名: spaces

マクロ本文: なし。

保存形式の例

  <ac:structured-macro ac:name="spaces">
    <ac:parameter ac:name="width">80%</ac:parameter>
    <ac:parameter ac:name="">favourite</ac:parameter>
  </ac:structured-macro>

Wiki マークアップの例

{spaces:favourite|width=80%}
  • ラベルなし