The my-favourite-users macro is used to list people marked as favourite for a specific user.
The default output will table of favourite users showing their profile pictures, name and a link1 which can be clicked to remove them from the favourites.
|1||The link is only shown when viewing your own favourites.|
|default||@creator||The username of the person whose favourites people are to be displayed:
|showImg||true||Show profile pictures for the listed users:
|output||table||The output format for the list:
|count||no restriction||Limit the number of users listed to a specific number, eg: count=5||1.0|
|size||source image size||The width and height of the profile pictures. Confluence automatically scales all profile pictures to 48x48 pixels, however you can further reduce the image size using this parameter. For best results, use multiples of the default size, eg. 12, 24, 96.||1.0|
|none||The text to display if there is no favourite users||1.0|
When you don't specify a user, the macro will default to @creator which represents the person who created the current page or blog (as applicable depending on where the macro is used).
This is particularly useful when you are using the macro on a personal home page or in sidebars.
Specify the user name as the default parameter, eg. to show Joe's favourite users:
Specify the user as @self, for example:
This is particularly useful when creating a central portal for all users (rather than individual portals) because it allows the portal to reflect the settings of the currently logged in user.
To change the picture size, use the size parameter. For example, to set the profile pictures to 24x24 pixels, use:
You can hide the profile pictures using the showImg parameter, for example:
To output users in a list, use the following syntax:
Which will result in something like this:
If you are using Theme Builder 3.0, you can embed a list of favourite users in to menus using syntax like the following: