![]() |
Type | Doc (Velocity Macro) |
Category | |
Developed by | Unknown |
Rating | |
License | Unknown |
Table of contents
Description
Renders the specified XWiki page in its own context and surrounded by {pre}{/pre} tags to avoid further rendering of XWiki syntax by the including document.
Usage
#includeTopic($pageName)
Parameters definition
Name | Optional | Allowed values | Default value | Description |
---|---|---|---|---|
pageName | no | a string | none | A page name using the syntax described below |
The pagename parameter may take the following form:
[database:][web.]page
where optional parts are surrounded by brackets
- If database is present, the space and page parts will refer to a document in the specified database in the context of an XWiki farm.
- If web is present, then it will be used as part of the full page name, otherwise the web name of the enclosing document will be used
Example
This macro may be used to display an XWiki page in another one. For instance, the page Community.IRC from this web site is included below.
#includeTopic("dev:Community.IRC")