Wiki source code of Icons
Last modified by superadmin on 2026/10/14 18:26
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | The [[Icon Macro>>doc:extensions:Extension.Icon Macro.WebHome]] displays an icon in the content of a page, taken from the [[Icon Theme>>doc:documentation.xs.admin.icons.icon-themes.WebHome]] the wiki uses. An icon makes an interface element recognizable at a glance, and it lets a page point at the exact button its reader has to click. | ||
| 2 | |||
| 3 | The editor decides how the icon gets there: | ||
| 4 | |||
| 5 | * [[Add an Icon Using the WYSIWYG Editor>>doc:documentation.xs.user.icons.add-icon-wysiwyg-editor.WebHome]] picks it from the list of icon names, with no syntax to type. | ||
| 6 | * [[Add an Icon Using the Wiki Editor>>doc:documentation.xs.user.icons.add-icon-wiki-editor.WebHome]] types the macro, which is quicker once the name of the icon is known. | ||
| 7 | |||
| 8 | Both write the same macro call, and [[The displayIcon Macro>>doc:documentation.xs.user.icons.displayicon-macro.WebHome]] documents its parameters: the icon to display, the Icon Theme to take it from, and what happens when that icon does not exist. |