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.

Tags: icon image link
Created by Vincent Massol on 2011/11/10
   

Get Connected