Changes for page Include Macro

Last modified by Admin on 2024/03/29 07:51

<
From version < 37.1 >
edited by Vincent Massol
on 2018/07/05 10:08
To version < 38.1 >
edited by Thomas Mortagne
on 2018/07/05 10:22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.VincentMassol
1 +xwiki:XWiki.ThomasMortagne
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -11,7 +11,7 @@
11 11  |=Name|=Optional|=Allowed values|=Default value|=Description
12 12  |page|no or ##reference##|a [[page reference>>extensions:Extension.Model Module||anchor="HPageReferences"]]| |{{info}}since 10.6{{/info}} the reference of the page to include. You should use this parameter rather than the ##reference## one which is more complex to use.
13 13  |reference|no or ##page##|an entity reference| |the reference of the entity to include. See the [[Model module>>Model Module]] to understand the concept of references.
14 -|type|yes|document|document|the type of the entity, for now only document is supported. This parameter is also only useful when used with the ##reference## parameter. It's not needed when using the ##page## parameter.
14 +|type|yes|document|document|the type of the entity. This parameter is also only useful when used with the ##reference## parameter. It's not needed when using the ##page## parameter.
15 15  |section|yes|string||the anchor to the Heading section to include in the target document (note that headings generate anchors automatically in the form: "H" + heading title stripped of all non alpha characters).
16 16  |document|no|a wiki document| |the name of the document to include. {{warning}}Deprecated since 3.4M1. Use ##page## (or ##reference##) instead.{{/warning}}
17 17  |context|yes|new/current|current|defines whether the included page is executed in its separated execution context or whether it's executed in the context of the current page. {{warning}}Deprecated since 3.4M1. Use [[##display## macro>>Display Macro]] for context=new.{{/warning}}

Get Connected