This page describes the {bookmarks} macro, provided by the Social Bookmarking plugin. Please refer to Working with Bookmarks for details of how to add, view and subscribe to bookmarks.

Use the {bookmarks} macro to include a list of bookmarks on a Confluence page. By default, the macro will display the bookmarks saved in the current space.

Bookmarks macro

必要な入力項目

表示結果

{bookmarks}


Optional Parameters

パラメーター

既定

説明

max

15

The maximum number of bookmarks to display.

スペース

現在のスペース

A list of spaces to search for, separated by commas. The macro will display the bookmarks saved in these spaces. Meta space names @all, @personal, @global can also be used.

labels

なし

A list of labels to search for, separated by commas. The macro will display the bookmarks which have these labels applied. If you specify multiple labels, the bookmarks need to match only one of the labels to be included.

creators

なし

A list of usernames, separated by commas, specifying who created the bookmarks to be listed.

並べ替え

作成日

Specify the sort order of the bookmarks. Valid values: 'creation' = bookmark created date; 'creator' = username of bookmark author; 'title' = bookmark title.

reverseSort

false

'true' = reverse the sort order.

showAuthor

true

Display the user who created the bookmark.

showDate

true

Display the date when the bookmark was created.

showDescription

true

Display the bookmark description.

showEditLinks

true

If the current user has permission, show quick links to edit or remove the bookmark.

showLabels

true

Display the bookmark's labels.

showListHeader

true

Display heading of the bookmark list (with the RSS feed link).

showSpace

true

Display the space the bookmark is saved in.

showViewLink

true

Display a link to the actual bookmark page.

Examples of Optional Parameters

Specify the number of bookmarks you want displayed:

{bookmarks:max=5}

Specify the space(s) where the bookmarks are saved:
The following markup will show the bookmarks in the personal space of user 'jbloggs' and in the 'sales' space.

{bookmarks:spaces=~jbloggs,sales}

Specify the space(s) where the bookmarks are saved and the person who created the bookmarks:
The following markup will show the bookmarks created by user 'jbloggs' in his personal space and in the 'sales' space.

{bookmarks:spaces=~jbloggs,sales|creators=jbloggs}

Display only the bookmark titles:
(info) We have forced the line-breaks in this example. Your code should consist of a single line.

{bookmarks:showAuthor=false|showDate=false
|showDescription=false|showEditLinks=false
|showLabels=false|showListHeader=false
|showSpace=false|showViewLink=false}
関連トピック

Working with Bookmarks
Working with Macros

Take me back to Confluence User Guide