Id Macro
Last modified by Admin on 2024/10/30 01:48
Allows putting a reference/location in a page |
Type | JAR |
Category | |
Developed by | |
Rating | |
License | GNU Lesser General Public License 2.1 |
Bundled With | XWiki Standard |
Table of contents
Description
Allows putting a reference/location in a page. In HTML for example this is called an Anchor. It allows pointing to that location, for example in links.
Usage
{{id name="someid" /}}
Parameters definition
Name | Optional | Allowed values | Default value | Description |
---|---|---|---|---|
name | no | any | No default value | The identifier value. |
Example
[[Click here to jump to anchor "someid">>||anchor="someid"]]
{{id name="someid" /}}
The "someid" anchor where to jump
{{id name="someid" /}}
The "someid" anchor where to jump
Result
Click here to jump to anchor "someid"
The "someid" anchor where to jump
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).
You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.
Dependencies
Dependencies for this extension (org.xwiki.rendering:xwiki-rendering-macro-id 16.9.0):