Wiki source code of Add an Icon Using the Wiki Editor
Last modified by Eleni Cojocariu on 2026/10/02 09:12
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Insert an icon of the [[Icon Theme>>doc:documentation.xs.admin.icons.icon-themes.WebHome]] in a page by typing the macro, which is quicker than picking it from a list once the name of the icon is known. | ||
| 2 | |||
| 3 | 1. [[Edit the page with the Wiki editor>>doc:documentation.xs.user.base.page.edit.edit-wiki-editor.WebHome]] | ||
| 4 | 1. Type the macro where the icon belongs, naming the icon in its ##name## [[parameter>>doc:documentation.xs.user.icons.displayicon-macro.WebHome]]((( | ||
| 5 | {{code language="none"}} | ||
| 6 | The {{displayIcon name="attach"/}} tab lists the files attached to a page. | ||
| 7 | {{/code}} | ||
| 8 | |||
| 9 | {{image reference="icon-wiki-editor-syntax.png" alt="The Wiki editor with the macro call highlighted in the content of the page" size="large"/}} | ||
| 10 | ))) | ||
| 11 | 1. Save the page. The icon is displayed in place of the macro, as follows:((( | ||
| 12 | {{image reference="icon-wiki-editor-result.png" alt="A sentence of a saved page in which the paperclip icon is highlighted" size="medium"/}} | ||
| 13 | ))) |