Template Macro
Last modified by Thomas Mortagne on 2026/02/26 15:38
| Execute and include a template |
| Type | JAR |
| Category | |
| Developed by | |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
| Bundled With | XWiki Standard |
| Compatibility | Since 7.0. |
Table of contents
Description
You can use the template macro to execute and include a template in a wiki content. See Template Module for more details about templates.
Parameters
| Name | Description | Mandatory | Default Value | Since |
|---|---|---|---|---|
| name | The name of the template | yes | 7.0 | |
| output | Indicate of the result of the execution should be returned by the macro | no | true | 7.0 |
Examples
{{template name="mytemplate.vm"/}}