IncludeTopic Macro
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 |
[database:][web.]page
- 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("Community.IRC")Result
Version 5.1 last modified by VincentMassol on 19/06/2008 at 22:07
Document data
Attachments:
No attachments for this document
Comments: 0