XWiki Syntax Guide

Last modified by superadmin on 2026/11/28 03:34

XWiki Syntax 2.1: Scripts

2.0 Scripts

FeatureXWiki Syntax 2.1
Velocity script
{{velocity}}
#set ($var = "whatever")
{{/velocity}}
Groovy script
{{groovy}}
def var = "whatever"
{{/groovy}}

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

  • [DSSF 2008>DSSF2008.WebHome]
  • [DCNM 2009>DCNM2009.WebHome]
  • [HCCF 2010>HCCF2010.WebHome]
  • [$msg.get("xe.panels.quicklinks.index")>Main.AllDocs]
  • [$msg.get("xe.panels.quicklinks.sandbox")>Sandbox.WebHome]
    #if ($xwiki.hasAdminRights())
    <p><a href="$xwiki.getDocument("Panels.QuickLinks").getURL("inline")">$msg.get("xe.panels.edit")</a></p>
    #end
    #panelfooter()