Icons
Version 1.1 by Eleni Cojocariu on 2026/08/25 11:03
Content
Explanation
The Icon Theme Application lets code ask for a name of the XWiki Icon Set, so an extension never hard-codes an image path and follows the Icon Theme the wiki has selected on its own.
- Display an Icon in a Script renders an icon from Velocity through the $services.icon script service.
- Create an Icon Theme adds a mapping of your own to a wiki, and Icon Theme Properties documents every setting its page carries.
What a request for an icon goes through:
FAQ
Which name does a script pass to select a theme?
The name property of the theme page's IconThemesCode.IconThemeClass object, not the page name: the bundled Font Awesome theme lives on IconThemes.FontAwesome and is named Font Awesome.
More
To find more about the current topic, you can search or use the table below and filter the columns to narrow your choices.