Confluence 5.0 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
最近の更新マクロは Confluence 内で最近変更されたコンテンツの一覧を表示します。
最近の更新マクロの使用
最近の更新マクロをページに追加する方法:
オートコンプリートでマクロを素早く入力する方法 既存のマクロを編集する方法: マクロのプレースホルダをクリックして、[編集] を選択します。マクロのパラメータが編集可能な場合、マクロのダイアログ ウィンドウが開きます。
パラメーター
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).
パラメーター | 既定 | 説明 |
|---|---|---|
ユーザー名ごとの作者 | 指定なし。つまり、すべてのコンテンツを表示します。 | Filter the results by author. The macro will display only the pages etc which were last modified by the author(s) you specify here. jsmith,jbrown To include content from one user, but exclude from another user: |
スペース |
マクロが使用されているページを含むスペース | このパラメータを使用すれば、スペースでコンテンツを絞り込むことができます。ここで指定したスペース (複数可) に属するページ等のみがマクロで表示されます。
特別な値:
個人用スペースを指定する場合、 |
ラベル | 指定なし (すべてのコンテンツを表示) | 結果をラベルで絞り込みます。ここで指定したラベル (複数可) でタグ付けされているページ等のみがマクロで表示されます。
ラベル パラメータは、 |
テーブルの幅 | 100% | マウロの表示幅を、ウィンドウ幅に対するパーセント値で指定します。 |
これらのコンテンツ タイプのみを表示 | すべてのタイプ | このパラメータを使用すれば、コンテンツ タイプでコンテンツを絞り込むことができます。ここで指定したコンテンツ タイプのみがマクロで表示されます。 特定のコンテンツ タイプのコンテンツを除外するには、そのコンテンツ タイプのすぐ前にマイナス記号 (-) を追加します。例: コンテンツ タイプを 利用可能な値:
|
結果の最大数 | 15 | Specify the maximum number of results to be displayed. If this parameter is omitted, then a maximum of 15 results are displayed. The theoretical maximum value that this parameter can accept is 2 to the power of 31, minus 1 (or 2147483647), though this has been limited to 200 in the code, for performance reasons. More details are here. |
テーマ |
| このマクロの外観を選択します。
|
ユーザー プロファイルの画像を表示 |
| コンテンツを更新したユーザーのプロファイル画像を表示するには |
Hide Title | False | コンテンツ一覧でのタイトルとして、"Recently Updated" テキストをマクロで非表示にするか表示するかを決定します。wiki マークアップとストレージ形式でのみ利用できます。 許可される値:
|
注意
- The Recently Updated Dashboard macro is similar to this macro, but is intended for display on the Confluence dashboard.
If you would like to change the wording displayed by the Recently Updated macro, please refer to the document on modifying the Confluence interface text.
コードの例
次の例は、Confluence ページの基本的なマークアップを調べたり、編集したりする上級ユーザー向けに提供されています。
マクロ名: recently-updated
マクロ本文: なし。
保存形式の例
<ac:structured-macro ac:name="recently-updated">
<ac:parameter ac:name="spaces">
<ri:space ri:space-key="ss"/>
</ac:parameter>
<ac:parameter ac:name="author">
<ri:user ri:userkey="12345678912345678912345"/>
</ac:parameter>
<ac:parameter ac:name="users"/>
<ac:parameter ac:name="max">10</ac:parameter>
<ac:parameter ac:name="width">50%</ac:parameter>
<ac:parameter ac:name="theme">sidebar</ac:parameter>
<ac:parameter ac:name="labels">choc</ac:parameter>
<ac:parameter ac:name="types">page</ac:parameter>
</ac:structured-macro>
Wiki マークアップ例
{recently-updated:spaces=ds|author=admin|max=10|hideHeading=true|width=50%|theme=sidebar|showProfilePic=true|labels=choc|types=page}
