How to display an Icon from the XWiki Icon Set?

Last modified by Thomas Mortagne on 2023/10/10

This is available in XWiki Syntax 2.1, see the Image section of the Syntax Reference Guide.

Velocity example displaying an icon as a link to delete the current page:

{{velocity}}
[[image:icon:page_delete>>path:$doc.getURL('delete')]]
{{/velocity}}

Note that this example also demonstrates how to link to a relative URL using the path prefix in XWiki Syntax 2.1, see Link section of the Syntax Reference Guide.

Get Connected