Templates

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

  • Use templates

    Templates are predefined pages that can be copied when creating a new page.

    Creating pages based on templates makes it faster to adapt predefined content to your needs.

    Try it!
  • Create your template

    Integrate structure and macros in an existing page, and transform it in a template.

    Template Providers expose templates on the Create Page dialog so that the users can use them.

    Learn more

Examples

Want to start from a predefined template? Here are some examples of available templates inside XWiki

View more templates

#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