Remarksbox (범례 상자) 플러그인
댓글, 힌트, 메모 혹은 경고 상자를 표시합니다
사용법
{REMARKSBOX(type="tip" title="Tip")}상자에 들어갈 내용{REMARKSBOX}
혹은 (WYSIWYG 편집기를 사용할 경우)
{Remarksbox type="tip" title="Tip") 상자에 들어갈 내용}
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 |
예제
아래의 코드는 4개의 사용가능한 유형을 보여주며, 각각에 해당하는 예제를 보여줍니다:
{REMARKSBOX(type=>tip|comment|note|warning, title=>Tip|Comment|Note|Warning)}remarks text{REMARKSBOX}
이는 다음의 4개의 결과를 불러오게 됩니다 (별도로 코딩되었을 경우):