Confluence 5.4 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
The Content by Label macro displays links to pages, blog posts and attachments that have been tagged with specific labels.
使用例
Below is a working example of the Content by Label macro, displaying content with the label 'LDAP'.
-
External user directories (Bitbucket Data Center 9.6)
-
External user directories (Bitbucket Data Center 9.5)
-
External user directories (Bitbucket Data Center 9.4)
-
-
ラベル別コンテンツマクロを利用する
ラベル別コンテンツマクロをページに追加する方法
オートコンプリートでマクロを素早く入力する方法 既存のマクロを編集する方法: マクロのプレースホルダをクリックして、[編集] を選択します。マクロのパラメータが編集可能な場合、マクロのダイアログ ウィンドウが開きます。
パラメーター
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 by label(s). The macro will display only the content tagged with the label(s) specified here. See also the Operator parameter below.
|
Author(s) | なし | Filter by author. The macro will display only the content created or updated by the author(s) specified here. jsmith,jbrown To include content from one user, but exclude from another user: |
Include this Content Type Only | すべて | Filter by content type. The macro will display only the content of the type specified here. 特定のコンテンツ タイプのコンテンツを除外するには、そのコンテンツ タイプのすぐ前にマイナス記号 (-) を追加します。例: コンテンツ タイプを 利用可能な値:
|
Show Labels for Each Page | true | Show or hide labels in the results. |
Show Space Name for Each Page | true | Show or hide spaces in the results. |
List Title | なし | Add a title or heading to the list. |
Maximum Number of Pages | 15 | Limit the maximum number of results to be displayed. Note that the results are sorted first, and then the maximum parameter is applied. |
Display Excerpts | false | Include excerpts from each page listed. Note that you must have defined excerpts on each of those pages, by adding the excerpt macro to the page. Only the first few lines of the excerpt for each page are displayed. |
Restrict to these Spaces | @all | Filter by space. The macro will display only the content which belongs to the space(s) specified here.
特別な値:
個人用スペースを指定する場合、 |
演算子 | または | The operator to apply when matching content against the labels specified in the Label(s) parameter:
|
Sort By | modified | Specify how the results should be sorted.
Note: If this parameter is not specified, the sort order defaults to descending, based on the last modification date (latest first). To change the sort order from ascending to descending, use the Reverse Sort parameter. |
Reverse Sort | false | Select Reverse Sort to change the sort from descending to ascending. Use this parameter in conjunction with the Sort By parameter. Reverse Sort is ignored if Sort By is not specified. |
コードの例
参照先: