0 Votes

Button

Last modified by Ryan C on 2025/04/30 07:54

Insert a noticeable, clickable button on your XWiki page to highlight links and create call to actions!

Parameters

NameDescriptionDefault
labelThe label of the button.-
urlA link or a page reference.-
colorThe color of the button.White
widthThe width of the button specified in pixels, percentage or other valid CSS value (ex. 30px, 30%, 30em). If no value is specified, the width will be determined by the length of the label.-
newTabDenotes whether the page will be opened in a new page or not.false
iconIcon associated with the button, placed before the label.-

Examples

{{button label="Store" url="http://store.xwiki.com"/}}

Unknown macro: missingLicenseMessage. Click on this message for details.

{{button label="Store" url="http://store.xwiki.com" color="#889cb8"/}}

Unknown macro: missingLicenseMessage. Click on this message for details.

{{button label="Store" url="http://store.xwiki.com" color="#889cb8" newTab="true" icon="page"/}}

Unknown macro: missingLicenseMessage. Click on this message for details.

{{button label="Store" url="http://store.xwiki.com" color="#889cb8" newTab="true" icon="page" width="100%"/}}

Unknown macro: missingLicenseMessage. Click on this message for details.

XWiki AI Chat