Loading...
 
Skip to main content

History: PluginRemarksbox

Preview of version: 15

Plugin Remarksbox

Displays a comment, tip, note or warning box

Usage

Image
Copy to clipboard
{REMARKSBOX(type="tip" title="Tip")}remarks text{REMARKSBOX}

Display a comment, tip, note or warning box
Introduced in Tiki 2.
Go to the source code
Preferences required: wikiplugin_remarksbox

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


Examples

This code shows the four possible types and example titles for each:

Image
Copy to clipboard
{REMARKSBOX(type=>tip|comment|note|warning, title=>Tip|Comment|Note|Warning)}remarks text{REMARKSBOX}

and would provide the following four results (if coded separately):

 Comment
remarks text
 Confirm
remarks text
 Errors
remarks text
 Information
remarks text
 Note
remarks text
 Tip
remarks text
 Warning
remarks text


Related pages

History

Information Version
Torsten Fabricius fixed typo 21
Torsten Fabricius Fixed the Jumbotron (moved 1 subline into the Jumbotron) 20
Bernard Sfez / Tiki Specialist Adding sample with wiki syntax 19
luciash d' being 🧙 18
luciash d' being 🧙 17
lindon 16
Jean-Marc Libs 15
Jean-Marc Libs Remarks Box Plugin modified by editor. 14
Jean-Marc Libs Remarks Box Plugin modified by editor. 13
Jean-Marc Libs 12
Marc Laporte 11
Jürgen Heckes 9
Jürgen Heckes Plugin modified by editor. 8
lindon fix code plugin by adding ishtnl parameter 7
lindon fix code display by adding ishtml parameter 6
Jürgen Heckes 5
Jürgen Heckes 4
Jürgen Heckes 3
Jürgen Heckes 2
Jürgen Heckes 1