Box

Last modified by superadmin on 2026/11/28 04:30

Box Macro displays a message in a styled box. Learn more

There are several specialized box macros:

Box Macro

Title of the box

This is a box message

{{box title='Title of the box'}}
This is a box message
{{/box}}

Info Macro

IconInformation

This is an info message

{{info}}
This is an info message
{{/info}}

Success Macro

IconSuccess

This is a success message

{{success}}
This is a success message
{{/success}}

Warning Macro

IconWarning

This is a warning message

{{warning}}
This is a warning message
{{/warning}}

Error Macro

IconError

This is an error message

{{error}}
This is an error message
{{/error}}

#panelheader($msg.get("xe.panels.quicklinks"))

  • [L3D Calendar>L3D Calendar.WebHome]
  • [$msg.get("xe.panels.quicklinks.dashboard")>Main.WebHome]
  • [$msg.get("xe.panels.quicklinks.index")>Main.AllDocs]
  • [$msg.get("xe.panels.quicklinks.blog")>Blog.WebHome]
  • [$msg.get("xe.panels.quicklinks.sandbox")>Sandbox.WebHome]
    #if ($xwiki.hasAdminRights())
    <p style="font-size:0.75em;padding-left:8px;"><a href="$xwiki.getDocument("Panels.QuickLinks").getURL("inline")">$msg.get("xe.panels.edit")</a></p>
    #end
    #panelfooter()

#set($recentDocs = $xwiki.searchDocuments("where 1=1 and doc.author='$context.user' order by doc.date desc", 5, 0))
#if($recentDocs.size() > 0 || $showEmptyPanels)
#panelheader($msg.get("xe.panels.modifications.my"))
#set($first = true)
#foreach($docname in $recentDocs)
#set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument())
#if($first == true)
#set($first = false)
#else
<span class="pitemseparator"> | </span>
#end
<span class="panelitem"><a href="$rdoc.getURL("view")">$rdoc.displayTitle</a></span>
#end
#panelfooter()
#end