Overview
The add-favourite-user macro outputs a link to the add/remove user to favourites action. If the user is not currently a favourite then the add link is output, if the user is an existing favourite then a link to the remove action is generated.
Usage
{add-favourite-user}%Add% user %to% favourites{add-favourite-user}
Parameters
| Parameter |
Required |
Default |
Notes |
Bubbles Version |
| default |
|
@creator |
The username of the person who should be added to the favourites
- @creator - The creator of the page
- username - A user's name
|
1.0 |
Fields
The following fields are supported in the body of this macro:
| Field |
Parameter(s) |
Notes |
Bubbles Version |
| %Add% |
macro body |
Replaced with 'Add' / 'Remove' dependant on whether the user is currently a favourite |
1.0 |
| %add% |
macro body |
Replaced with 'add' / 'remove' dependant on whether the user is currently a favourite |
1.0 |
| %to% |
macro body |
Replaced with 'to' / 'from' dependant on whether the user is currently a favourite |
1.0 |