Include Macro

This is a XWiki macro, bundled with all the XWiki products by default.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.

Include Macro

Include other pages into the current page.

Usage

{{include document="SpaceOf.DocumentToInclude"/}}

Since 1.8M2, the target document can be of any supported wiki syntax (xwiki, mediawiki, etc.)
Warning: If the target is a XWiki 1.0 syntax document, a converter is used from 1.0 to 2.0 syntax before parsing so it's possible the result will not be exactly the same that the classical 1.0 rendering

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
documentnoa wiki document the name of the document to include.
contextyesnew/currentcurrentdefines whether the included page is executed in its separated execution context or whether it's executed in the context of the current page.

Example

{{include document="DocumentToInclude"/}}

Result

Warning: todo
Tags:
Created by Thomas Mortagne on 2008/09/30 12:57
Last modified by Asiri Rathnayake on 2009/07/23 14:37

This wiki is licensed under a Creative Commons license
2.2.1.27354