This is the code I'm using to create those "blocks": {{velocity}} #set($title=$xcontext.macro.params.Title) #set($description=$xcontext.macro.params.Description) #set($icon=$xcontext.macro.params.Icon) #set($link=$xcontext.macro.params.Link) {{html wiki="true"}} <div style=" width: 240px; height: 240px; display: inline-block; padding-left: 5px; background-color: rgb(255,255,255); border-radius: 2px; border-width: 2px; border-style: solid; text-align: center; "> <br> {{icon name=$icon size="4x" title=$titel}}{{/icon}}<br> <br> **$title**<br> <br> //$description//<br> <br> </div> <br> {{/html}} {{/velocity}}
One thing missing...the ability to open a link when you click on the DIV. -- View this message in context: http://xwiki.475771.n2.nabble.com/Clickable-bar-macro-tp7589940p7589962.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users