Page History
...
Code Block | ||
---|---|---|
| ||
{trigger:event_name} {set-message[:[user=]useruser_name][|group=group_name][|view=both/draft/public][|style=tiperror/warning/info/notesuccess][|duration=duration_value]} {trigger} |
...
Parameters | Mandatory | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
unnamed first parameter or | No | – | Sets the name of the user who can view the message. If no name is specified, then the message is visible to all users. (3) | ||||||
group | No | – | Sets the name of the group of users that can view the message. If no group is specified, then the message is visible to all users. (3) | ||||||
| No |
| The style of the message that defines the background. Values can be
| ||||||
duration | No | Note (1) | Defines for how long the message is displayed. Duration of time before state expires following the ISO 8601 standard for duration. For more settings, please see the Duedate. | ||||||
view | No | both | Defines in which view of a page will the message be displayed into. Accepted values are:
A message for draft view, another for both views and one for published view can coexist at the same time for the same page (not more than one of each type). (2) | ||||||
|
Examples
To set the message "Draft" visible to all userusers:
Code Block |
---|
{set-message}Draft{set-message} |
...