Network Macro

The Network macro displays a list of Network activity on a Confluence page or blog post. You can specify the user whose network activity you wish to show. These interactions include the users that the specified user is following or users who are following the specified user. The Network macro shows each listed user by their profile picture. It also provides a choice of two themes and the ability to limit the number of users in the list.

Screenshot: Network macro

Using the Network macro

To add the Network macro to a page:

  1. From the editor toolbar, choose Insert > Other Macros
  2. Find and select the required macro

Speed it up with autocomplete: Type and the beginning of the macro name, to see a list of suggested macros. In this example we're inserting the cheese macro.

To edit an existing macro: Click the macro placeholder and choose Edit. This will open the macro details, so you can edit the macro parameters.

Parameters

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

Parameter

Default

Description

Username

Current user's username

The username of the Confluence user whose network interactions you wish to show. If no username is specified, then current user's (that is, your) network interactions are shown.

Mode

following

Determines which users are listed, with respect to the specified user:

    • following – those who the user is following.
    • followers – those who are following the user.

This parameter is unnamed in storage format and wikimarkup.

Theme

full

Determines how the user's network is displayed:

    • full – shows a large version of user's profile pictures and, if the following mode is set, provides an entry field function to follow more users.
    • tiny – shows only the small version of user's profile pictures.

Maximum Results

(max)

No limit imposed up to a maximum of 30

Restricts the number of users displayed. If the number of users exceeds the specified maximum, then a Show All link is provided. This link leads to the specified user's Network view, showing the complete list of network interactions.

Wiki markup example

This example is useful when you want to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.

Macro name: network

Macro body: None.

{network:followers|username=admin|max=10|theme=full}

Disabling the Network macro

The Network macro is provided by the 'network' module in the 'Profile Macros' system app (plugin). To remove the macro from your site, you can disable this module. See Disabling and enabling apps.

Last modified on Oct 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.