|
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | remarks text | |||
icon |
text | Enter a custom icon name (from tiki available icon at https://doc.tiki.org/PluginIcon) | 2.0 | |
id |
text | Sets an HTML id for the account. | 14.0 | |
store_cookie |
(blank) y n |
Set whether to remember if the alert is dismissed (not remembered by default).
Requires id and version parameters to be set. |
14.0 | |
title |
text | Label displayed above the remark. | 2.0 | |
title_class |
text | alert-heading h4 | 21.1 | |
version |
text | Sets a version for the alert. If new version, the alert should show up again even
if it was previously dismissed using the store_cookie parameter |
14.0 | |
width |
text | Width (e.g. 100% or 250px - default "") |
4.1 | |
close |
(blank) y n |
Show a close button (not shown by default). | y | 4.0 |
highlight |
(blank) y n |
Use the highlight class for formatting (not used by default). | 2.0 | |
title_tag |
(blank) div h4 |
div | 21.1 | |
type |
(blank) comment confirm errors information note tip warning |
Select type of remarksbox, which determines what icon and style will be displayed | tip | 2.0 |
This code:
{REMARKSBOX(type="comment" title="Comment")}remarks text{REMARKSBOX}
Would produce:
This code:
{REMARKSBOX(type="confirm" title="Confirm")}remarks text{REMARKSBOX}
Would produce:
This code:
{REMARKSBOX(type="errors" title="Errors")}remarks text{REMARKSBOX}
Would produce:
This code:
{REMARKSBOX(type="information" title="Information")}remarks text{REMARKSBOX}
Would produce:
This code:
{REMARKSBOX(type="note" title="Note")}remarks text{REMARKSBOX}
Would produce:
This code:
{REMARKSBOX(type="tip", title="Tip")}remarks text{REMARKSBOX}
Would produce:
This code:
{REMARKSBOX(type="warning" title="Warning")}remarks text{REMARKSBOX}
Would produce:
This code:
{REMARKSBOX(type="information" title="Miscellaneous" highlight="y" icon="user" close="n" width="250px" store_cookie="n" id="miscellaneous" version="1")}remarks text{REMARKSBOX}
Would produce:
You can use wiki syntax to style the content of the remarksbox.
This code:
{REMARKSBOX(type="note" title="Note")}{DIV(type="h3")}Heading h3{DIV}remarks text%%%Another line{REMARKSBOX}
Would produce: